From d22a9c0c51200f0cfd7d6de4efdc53b8298a0503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Bl=C3=A4sing?= Date: Tue, 8 Mar 2022 21:25:58 +0100 Subject: [PATCH] Fix definition of `c.s.j.p.unix.X11.XK_Shift_R` --- CHANGES.md | 1 + contrib/platform/src/com/sun/jna/platform/unix/X11.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 280bf8f41e..52339b9c0c 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). +* [#XXXX](https://github.com/java-native-access/jna/pull/XXXX): 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;