diff options
Diffstat (limited to 'java/com/tigervnc/vncviewer/DesktopWindow.java')
-rw-r--r-- | java/com/tigervnc/vncviewer/DesktopWindow.java | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/java/com/tigervnc/vncviewer/DesktopWindow.java b/java/com/tigervnc/vncviewer/DesktopWindow.java index 42a1cc9d..5f9ee1a3 100644 --- a/java/com/tigervnc/vncviewer/DesktopWindow.java +++ b/java/com/tigervnc/vncviewer/DesktopWindow.java @@ -460,20 +460,23 @@ class DesktopWindow extends JPanel implements Runnable, MouseListener, int ctrlAltShiftMask = Event.SHIFT_MASK | Event.CTRL_MASK | Event.ALT_MASK; if ((e.getModifiers() & ctrlAltShiftMask) == ctrlAltShiftMask) { switch (e.getKeyCode()) { + case KeyEvent.VK_A: + cc.showAbout(); + return; case KeyEvent.VK_F: cc.toggleFullScreen(); return; + case KeyEvent.VK_H: + cc.refresh(); + return; case KeyEvent.VK_I: cc.showInfo(); return; - case KeyEvent.VK_N: - VncViewer.newViewer(cc.viewer); - return; case KeyEvent.VK_O: cc.options.showDialog(cc.viewport); return; - case KeyEvent.VK_R: - cc.refresh(); + case KeyEvent.VK_W: + VncViewer.newViewer(cc.viewer); return; case KeyEvent.VK_LEFT: case KeyEvent.VK_RIGHT: |