# HG changeset patch # User ssadetsky # Date 1477645684 -10800 # Node ID 7e908937a51b4345f208d1a9306688db7ff68f5a # Parent c15912723da0ca8f41b4ff22407899fbf0885120 8075904: The regression-swing case failed as Ctrl-F4 can't work with the special options"-client -Dswing.defaultlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel" Reviewed-by: alexsch, serb diff -r c15912723da0 -r 7e908937a51b jdk/src/java.desktop/share/classes/sun/swing/plaf/GTKKeybindings.java --- a/jdk/src/java.desktop/share/classes/sun/swing/plaf/GTKKeybindings.java Fri Oct 28 12:23:39 2016 +0530 +++ b/jdk/src/java.desktop/share/classes/sun/swing/plaf/GTKKeybindings.java Fri Oct 28 12:08:04 2016 +0300 @@ -219,6 +219,38 @@ "KP_UP", "selectPrevious" }), + "Desktop.ancestorInputMap", + new UIDefaults.LazyInputMap(new Object[] { + "ctrl F5", "restore", + "ctrl F4", "close", + "ctrl F7", "move", + "ctrl F8", "resize", + "RIGHT", "right", + "KP_RIGHT", "right", + "shift RIGHT", "shrinkRight", + "shift KP_RIGHT", "shrinkRight", + "LEFT", "left", + "KP_LEFT", "left", + "shift LEFT", "shrinkLeft", + "shift KP_LEFT", "shrinkLeft", + "UP", "up", + "KP_UP", "up", + "shift UP", "shrinkUp", + "shift KP_UP", "shrinkUp", + "DOWN", "down", + "KP_DOWN", "down", + "shift DOWN", "shrinkDown", + "shift KP_DOWN", "shrinkDown", + "ESCAPE", "escape", + "ctrl F9", "minimize", + "ctrl F10", "maximize", + "ctrl F6", "selectNextFrame", + "ctrl TAB", "selectNextFrame", + "ctrl alt F6", "selectNextFrame", + "shift ctrl alt F6", "selectPreviousFrame", + "ctrl F12", "navigateNext", + "shift ctrl F12", "navigatePrevious" + }), "EditorPane.focusInputMap", multilineInputMap, "FileChooser.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[]{