summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorOlivier Fourdan <ofourdan@redhat.com>2017-11-10 09:40:51 +0100
committerOlivier Fourdan <ofourdan@redhat.com>2017-11-10 17:59:26 +0100
commit97635d6f84ecdfacbe5a817210452be94a05ca87 (patch)
tree26ca0aba30a3dcb0ecdf07dde862f9298b468100 /data
parent6c21a22e4dfeda4e10333e310fc64b36d05ed6ae (diff)
downloadmutter-97635d6f84ecdfacbe5a817210452be94a05ca87.tar.gz
Add restore-shortcuts to key bindings list
gnome-control-center uses this to list the keybindings, without this users cannot change the default key combo to restore shortcuts. https://bugzilla.gnome.org/show_bug.cgi?id=789386
Diffstat (limited to 'data')
-rw-r--r--data/50-mutter-wayland.xml10
-rw-r--r--data/Makefile.am5
2 files changed, 15 insertions, 0 deletions
diff --git a/data/50-mutter-wayland.xml b/data/50-mutter-wayland.xml
new file mode 100644
index 000000000..6724d8964
--- /dev/null
+++ b/data/50-mutter-wayland.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<KeyListEntries schema="org.gnome.mutter.wayland.keybindings"
+ group="system"
+ name="System"
+ wm_name="Mutter"
+ package="mutter">
+
+ <KeyListEntry name="restore-shortcuts" description="Restore the keyboard shortcuts"/>
+
+</KeyListEntries>
diff --git a/data/Makefile.am b/data/Makefile.am
index 86260e949..5129b8e57 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -12,6 +12,11 @@ xml_DATA = \
50-mutter-system.xml \
50-mutter-windows.xml
+if HAVE_WAYLAND
+xml_DATA += \
+ 50-mutter-wayland.xml
+endif
+
gschema_in_files = \
org.gnome.mutter.gschema.xml.in \
org.gnome.mutter.wayland.gschema.xml.in