X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-vnc-client.git/blobdiff_plain/a824f7ccc88825c5ba5a3f990cfaf3530b9d88a6..68c87b47bcfe383b57b8ba18d39e088fa4fb789d:/VncCanvas.java diff --git a/VncCanvas.java b/VncCanvas.java index 4cb7d63..df84409 100644 --- a/VncCanvas.java +++ b/VncCanvas.java @@ -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();