mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 04:24:49 +02:00
6827581: Contextkey does not work in Nimbus
Reviewed-by: rupashka
This commit is contained in:
parent
8514d49a21
commit
ec0e5a2b69
2 changed files with 10 additions and 0 deletions
|
@ -402,6 +402,11 @@ public class GTKKeybindings {
|
||||||
"released SPACE", "released",
|
"released SPACE", "released",
|
||||||
"RETURN", "pressed"
|
"RETURN", "pressed"
|
||||||
}),
|
}),
|
||||||
|
"RootPane.ancestorInputMap",
|
||||||
|
new UIDefaults.LazyInputMap(new Object[]{
|
||||||
|
"shift F10", "postPopup",
|
||||||
|
"CONTEXT_MENU", "postPopup"
|
||||||
|
}),
|
||||||
// These bindings are only enabled when there is a default
|
// These bindings are only enabled when there is a default
|
||||||
// button set on the rootpane.
|
// button set on the rootpane.
|
||||||
"RootPane.defaultButtonWindowKeyBindings", new Object[]{
|
"RootPane.defaultButtonWindowKeyBindings", new Object[]{
|
||||||
|
|
|
@ -360,6 +360,11 @@ public class WindowsKeybindings {
|
||||||
"DOWN", "decrement",
|
"DOWN", "decrement",
|
||||||
"KP_DOWN", "decrement",
|
"KP_DOWN", "decrement",
|
||||||
}),
|
}),
|
||||||
|
"RootPane.ancestorInputMap",
|
||||||
|
new UIDefaults.LazyInputMap(new Object[]{
|
||||||
|
"shift F10", "postPopup",
|
||||||
|
"CONTEXT_MENU", "postPopup"
|
||||||
|
}),
|
||||||
// These bindings are only enabled when there is a default
|
// These bindings are only enabled when there is a default
|
||||||
// button set on the rootpane.
|
// button set on the rootpane.
|
||||||
"RootPane.defaultButtonWindowKeyBindings", new Object[]{
|
"RootPane.defaultButtonWindowKeyBindings", new Object[]{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue