Commit 98298ea
authored
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
1 parent d235e8e commit 98298ea
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
398 | 410 | | |
399 | 411 | | |
400 | 412 | | |
| |||
0 commit comments