Skip to content

Commit 76efcc7

Browse files
committed
Add missing VK_META right.
1 parent ee2ecbc commit 76efcc7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: src/org/simplenativehooks/x11/X11NativeKeyEvent.java

+4
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,10 @@ public NativeKeyEvent convertEvent() throws InvalidKeyEventException {
352352
k = KeyEvent.VK_META;
353353
m = Modifier.KEY_MODIFIER_LEFT;
354354
break;
355+
case 126:
356+
k = KeyEvent.VK_META;
357+
m = Modifier.KEY_MODIFIER_RIGHT;
358+
break;
355359
case 127:
356360
k = KeyEvent.VK_CONTEXT_MENU;
357361
break;

0 commit comments

Comments
 (0)