RFR: 8360647: [XWayland] [OL10] NumPad keys are not triggered

Alexander Zvegintsev azvegint at openjdk.org
Mon Jul 7 19:27:49 UTC 2025


When we try to pass `XK_KP_0` to [`NotifyKeyboardKeysym`](https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.RemoteDesktop.html#org-freedesktop-portal-remotedesktop-notifykeyboardkeysym) in Remote Desktop API, it presses/releases `SHIFT` + `XK_KP_Insert`.

To get the same result as XTest api when using `NotifyKeyboardKeysym` we should use `XK_KP_Insert` instead of `XK_KP_0` regardless of NumLock state. Similarly for other Numpad keys.

-------------

Commit messages:
 - 8360647: [XWayland] [OL10] NumPad keys are not triggered

Changes: https://git.openjdk.org/jdk/pull/26170/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26170&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8360647
  Stats: 25 lines in 1 file changed: 22 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/26170.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26170/head:pull/26170

PR: https://git.openjdk.org/jdk/pull/26170


More information about the client-libs-dev mailing list