GNOME Bugzilla – Bug 783343
Wayland: RFC - add shortcut inhibitor support
Last modified: 2017-08-02 11:16:41 UTC
The following series of patch aims at implementing support for keyboard shortcut inhibitor support in gtk+ This protocol has been previously discussed here: https://lists.freedesktop.org/archives/wayland-devel/2017-March/033526.html https://lists.freedesktop.org/archives/wayland-devel/2017-April/033638.html https://lists.freedesktop.org/archives/wayland-devel/2017-April/033800.html https://lists.freedesktop.org/archives/wayland-devel/2017-May/034130.html https://lists.freedesktop.org/archives/wayland-devel/2017-June/034223.html Note: This protocol is still under review/discussion on wayland-devel mailing and may be subject to change before it's approved in wyland-protocol, the patch posted here is for reference and preliminary discussions. This requires the protocol to be implemented in mutter as well, see bug 783342
Created attachment 353063 [details] [review] [PATCH] wayland: add shortcut inhibitor support
Created attachment 355340 [details] [review] [PATCH v2] wayland: add shortcut inhibitor support This adds support for the shortcut inhibitor protocol in gdk/wayland backend. A shortcut inhibitor request is issued from the gdk wayland backend for both the older, deprecated API gdk_device_grab() and the new gdk seat API gdk_seat_grab(), but only if the requested capability is for the keyboard only.
Created attachment 356364 [details] [review] [PATCH v3] wayland: add shortcut inhibitor support v3: Add dependency on wayland-protocols 1.9 (which includes the shortcut inhibitor protocol)
Carlos, you're okay with me landing this patch? gtk-3-22 and master or just gtk-3-22?
Comment on attachment 356364 [details] [review] [PATCH v3] wayland: add shortcut inhibitor support Looks good! Please push to gtk-3-22 and master :)
Comment on attachment 356364 [details] [review] [PATCH v3] wayland: add shortcut inhibitor support attachment 356364 [details] [review] pushed to git master as commit ac61aed - wayland: add shortcut inhibitor support attachment 356364 [details] [review] pushed to branch gtk-3-22 as commit 1c23bce - wayland: add shortcut inhibitor support