summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorOlivier Fourdan <ofourdan@redhat.com>2017-03-17 13:34:52 +0100
committerOlivier Fourdan <ofourdan@redhat.com>2017-08-02 11:58:55 +0200
commitdd12f569d90c7d6b524bda72266bf91c5a61d9e4 (patch)
treee5262544f09313309ed1299006f4b68dbdc645b5 /data
parentc54377e3ba1409718d521116727c62e012216db9 (diff)
downloadmutter-dd12f569d90c7d6b524bda72266bf91c5a61d9e4.tar.gz
wayland: add inhibit shortcut mechanism
Add a mechanism to MetaWaylandSurface that inhibits compositor's own shortcuts when the surface has input focus, so that clients can receive all key events regardless of the compositor own shortcuts. This will help with implementing "fake" active grabs in Wayland and XWayland clients. https://bugzilla.gnome.org/show_bug.cgi?id=783342
Diffstat (limited to 'data')
-rw-r--r--data/org.gnome.mutter.wayland.gschema.xml.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/org.gnome.mutter.wayland.gschema.xml.in b/data/org.gnome.mutter.wayland.gschema.xml.in
index 44334d664..e8ee1cca7 100644
--- a/data/org.gnome.mutter.wayland.gschema.xml.in
+++ b/data/org.gnome.mutter.wayland.gschema.xml.in
@@ -49,5 +49,9 @@
<default><![CDATA[['<Primary><Alt>F12']]]></default>
<summary>Switch to VT 12</summary>
</key>
+ <key name="restore-shortcuts" type="as">
+ <default><![CDATA[['<Shift><Control>Escape']]]></default>
+ <summary>Re-enable shortcuts</summary>
+ </key>
</schema>
</schemalist>