Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
mutter.10496
mutter-keybindings-Super-should-be-inhibitable....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mutter-keybindings-Super-should-be-inhibitable.patch of Package mutter.10496
From 120633b7f4352dfd54d57c96616f1dc090154854 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan <ofourdan@redhat.com> Date: Mon, 20 Nov 2017 17:40:15 +0100 Subject: [PATCH] keybindings: Super should be inhibitable When a Wayland client issues a shortcut inhibit request which is granted by the user, the Super key should be passed to the surface instead of being handled by the compositor. https://bugzilla.gnome.org/show_bug.cgi?id=790627 --- src/core/keybindings.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/core/keybindings.c b/src/core/keybindings.c index 5c2f8a1c3..fd9bdb391 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -1949,6 +1949,15 @@ process_overlay_key (MetaDisplay *display, MetaBackend *backend = keys->backend; Display *xdisplay; + if (display->focus_window && !keys->overlay_key_only_pressed) + { + ClutterInputDevice *source; + + source = clutter_event_get_source_device ((ClutterEvent *) event); + if (meta_window_shortcuts_inhibited (display->focus_window, source)) + return FALSE; + } + if (META_IS_BACKEND_X11 (backend)) xdisplay = meta_backend_x11_get_xdisplay (META_BACKEND_X11 (backend)); else -- 2.14.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor