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

Alexander Zvegintsev azvegint at openjdk.org
Fri Jul 11 20:19:18 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.

Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:

  wasNumpadPressed check added

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26170/files
  - new: https://git.openjdk.org/jdk/pull/26170/files/db92a1fb..e25f63da

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26170&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26170&range=01-02

  Stats: 6 lines in 1 file changed: 4 ins; 0 del; 2 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