Skip to content

[BACKPORT 3.36] keybindings: Mask out the reserved modifiers mask

Olivier Fourdan requested to merge ofourdan/mutter:issue1144-3-36 into gnome-3-36

When switching layouts, special modifiers bits may be be set for internal use by Xkb.

As we now ignore a set of modifiers when processing the special modifiers keys, we ought to also mask out those reserved modifiers otherwise we would discard the [Super] key after switching layouts in X11.

Closes: #1144 (closed)
!1220 (closed)

(cherry picked from commit 30883aea5aeb9b0ab01503da353cf90bff493be5)

Edited by Olivier Fourdan

Merge request reports