Isolate our patches to the VNC client from the upstream TightVNC
[invirt/packages/invirt-vnc-client.git] / VncCanvas.java
index 4cb7d63..df84409 100644 (file)
@@ -79,7 +79,6 @@ class VncCanvas extends Canvas
 
   // True if we process keyboard and mouse events.
   boolean inputEnabled;
-  int extraModifiers = 0;
 
   //
   // The constructors.
@@ -1511,9 +1510,6 @@ class VncCanvas extends Canvas
        // Input enabled.
        synchronized(rfb) {
          try {
-           if (extraModifiers != 0) {
-             evt.setModifiers(evt.getModifiers() | extraModifiers);
-           }
            rfb.writeKeyEvent(evt);
          } catch (Exception e) {
            e.printStackTrace();