Skip to content

Conversation

@mtwebster
Copy link
Member

@mtwebster mtwebster commented Jan 12, 2026

Originally removed because keymap_changed() was being called in ordinary use - with multiple devices involved (a volume knob on a keyboard is considered a separate device), a freeze could occur when switching between them.

Unfortunately, the updating of xkb options also triggers this event, and ignoring it was causing Muffin keybinding handling of iso-next- group (grp) xkb option changes to be ignored, including at the beginning of a session when the xkb options are first applied.

Re-add this event case, but check the event's req_minor value to determine whether or not to call keymap_changed() - hotplug and set_keymap() events have the same code, and should be handled.

ref:

https://gitlab.gnome.org/GNOME/mutter/-/issues/398 linuxmint/cinnamon#13361
linuxmint/cinnamon#13361

@mtwebster mtwebster force-pushed the restore-XkbNewKeyboardNotify branch from d444cd8 to 3baf77c Compare January 12, 2026 18:54
req_minor code.

Originally removed because keymap_changed() was being called in
ordinary use - with multiple devices involved (a volume knob on
a keyboard is considered a separate device), a freeze could occur
when switching between them.

Unfortunately, the updating of xkb options also triggers this event,
and ignoring it was causing Muffin keybinding handling of iso-next-
group (grp) xkb option changes to be ignored, including at the
beginning of a session when the xkb options are first applied.

Re-add this event case, but check the event's req_minor value to
determine whether or not to call keymap_changed() - hotplug and
set_keymap() events have the same code, and should be handled.

ref:

https://gitlab.gnome.org/GNOME/mutter/-/issues/398
linuxmint/cinnamon#13361
@mtwebster mtwebster force-pushed the restore-XkbNewKeyboardNotify branch from 3f71ef2 to 2f7dd1d Compare January 13, 2026 00:56
@linuxmint linuxmint deleted a comment from github-actions bot Jan 13, 2026
@linuxmint linuxmint deleted a comment from ellson-solutions Jan 13, 2026
@linuxmint linuxmint deleted a comment from ellson-solutions Jan 13, 2026
@linuxmint linuxmint deleted a comment from github-actions bot Jan 13, 2026
@linuxmint linuxmint deleted a comment from github-actions bot Jan 13, 2026
@linuxmint linuxmint deleted a comment from github-actions bot Jan 13, 2026
@mtwebster
Copy link
Member Author

/generate-test-packages 7

@github-actions
Copy link

Test packages generated successfully!

Download from the workflow run (available for 7 days).

@mtwebster mtwebster force-pushed the restore-XkbNewKeyboardNotify branch from e1fba84 to 2f7dd1d Compare January 13, 2026 17:12
@mtwebster mtwebster merged commit 98298ea into master Jan 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants