On Thu, 12 Mar 2026 14:33:18 GMT, Alexander Zvegintsev <[email protected]> 
wrote:

> `XKeysymToKeycode`  returns 0 for `XK_Mode_Switch` on modern systems. 
> Therefore `XK_ISO_Level3_Shift` has been added as an 
> [alternative](https://unix.stackexchange.com/a/55154).
> 
> This works for both X11 and Wayland sessions.
> 
> ---
> 
> Testing looks good.

This pull request has now been integrated.

Changeset: c7438a92
Author:    Alexander Zvegintsev <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/c7438a92a7cc368f2629744191dbd51d104d3be1
Stats:     8 lines in 2 files changed: 4 ins; 0 del; 4 mod

8376050: awt/event/MouseEvent/AltGraphModifierTest/AltGraphModifierTest.java 
fails on Ubuntu

Reviewed-by: dmarkov, serb, aivanov, honkar

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

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

Reply via email to