diff --git a/CHANGES.md b/CHANGES.md index 280bf8f41e..8e73dde3c9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -13,6 +13,7 @@ Features Bug Fixes --------- * [#1411](https://github.com/java-native-access/jna/pull/1411): Do not throw `Win32Exception` on success for empty section in `Kernel32Util#getPrivateProfileSection` - [@mkarg](https://github.com/mkarg). +* [#1414](https://github.com/java-native-access/jna/pull/1414): Fix definition of `c.s.j.p.unix.X11.XK_Shift_R` - [@matthiasblaesing](https://github.com/matthiasblaesing). Release 5.10.0 ============== diff --git a/contrib/platform/src/com/sun/jna/platform/unix/X11.java b/contrib/platform/src/com/sun/jna/platform/unix/X11.java index e48e6c2af2..08627b6405 100644 --- a/contrib/platform/src/com/sun/jna/platform/unix/X11.java +++ b/contrib/platform/src/com/sun/jna/platform/unix/X11.java @@ -606,7 +606,7 @@ class XSetWindowAttributes extends Structure { int XK_a = 0x61; int XK_z = 0x7a; int XK_Shift_L = 0xffe1; - int XK_Shift_R = 0xffe1; + int XK_Shift_R = 0xffe2; int XK_Control_L = 0xffe3; int XK_Control_R = 0xffe4; int XK_CapsLock = 0xffe5;