https://bugzilla.gnome.org/show_bug.cgi?id=754110

--- Comment #23 from Carlos Garnacho <[email protected]> ---
Created attachment 316879
  --> https://bugzilla.gnome.org/attachment.cgi?id=316879&action=edit
wayland: Test partial consumed modifier matches more thoroughly

Keycodes in the "CTRL+ALT" group used to trigger server-side actions
(VT switching, terminate server, ...) and are traditionally never seen
by GTK+. However, libxkbcommon observes those, and gives those a
treatment suitable for the server-side, but unfortunately incompatible
with what GTK+ was doing there:

 - To xkbcommon, the consumed modifiers mask for any key in this group
   (eg. F1) would contain Ctrl|Shift|Mod1|Mod5, but however only the
   presence of Ctrl+(Mod1|5) would produce a different keysym.
 - GTK+ OTOH has never seen these keycombos, so to it, all the modifier
   combinations that can be seen result on the same keysym (eg. Shift+F1,
   ctrl+F1), as such GTK+ doesn't announce these modifiers as "consumed".

In order make GTK+ compatible with other backends, perform extra checks
on the consumed modifiers, if we're positive that the current combination
of modifiers doesn't result in a different keysym than it would happen
without those active, they are removed from the consumed modifiers mask.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to