[Wayland-bugs] [Bug 770112] The documented <alt>left shortcut doesn’t work on Wayland

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue Jan 10 17:25:24 UTC 2017


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

--- Comment #10 from Olivier Fourdan <ofourdan at redhat.com> ---
Sorry, this particular shortcut is handled in shell/cc-window.c in the case of
g-c-c and the action is not triggered because of the state, it contains
additional bits.

e.g.:

g-c-c tests  "state == GDK_MOD1_MASK" in window_key_press_event() but in gdb we
can see the action is not triggered because state == 0x10000008 whereas
GDK_MOD1_MASK is 0x8, so they don't match.

Changing the test to "state & GDK_MOD1_MASK" in window_key_press_event()
triggers the action though.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170110/1a465665/attachment.html>


More information about the wayland-bugs mailing list