[mutter/wayland] mutter-wayland: Add XKB VT switching keysyms.
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] mutter-wayland: Add XKB VT switching keysyms.
- Date: Fri, 21 Feb 2014 18:50:53 +0000 (UTC)
commit 7283fb320f61581a524fe22b3905538adeef1c6b
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Feb 21 13:49:14 2014 -0500
mutter-wayland: Add XKB VT switching keysyms.
It turns out XKB has keysyms for these for no real reason, and I
was hitting those instead of the <Primary><Alt>F1 path. This is
ridiculous, but key, so is the entirety of XKB.
This took an embarassingly long time to figure out and debug.
src/org.gnome.mutter.wayland.gschema.xml.in | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/org.gnome.mutter.wayland.gschema.xml.in b/src/org.gnome.mutter.wayland.gschema.xml.in
index 4bb5c1d..baddf8e 100644
--- a/src/org.gnome.mutter.wayland.gschema.xml.in
+++ b/src/org.gnome.mutter.wayland.gschema.xml.in
@@ -2,31 +2,31 @@
<schema id="org.gnome.mutter.wayland.keybindings" path="/org/gnome/mutter/wayland/keybindings/"
gettext-domain="@GETTEXT_DOMAIN@">
<key name="switch-to-session-1" type="as">
- <default><![CDATA[['<Primary><Alt>F1']]]></default>
+ <default><![CDATA[['<Primary><Alt>F1', 'XF86Switch_VT_1']]]></default>
<_summary>Switch to VT 1</_summary>
</key>
<key name="switch-to-session-2" type="as">
- <default><![CDATA[['<Primary><Alt>F2']]]></default>
+ <default><![CDATA[['<Primary><Alt>F2', 'XF86Switch_VT_2']]]></default>
<_summary>Switch to VT 2</_summary>
</key>
<key name="switch-to-session-3" type="as">
- <default><![CDATA[['<Primary><Alt>F3']]]></default>
+ <default><![CDATA[['<Primary><Alt>F3', 'XF86Switch_VT_3']]]></default>
<_summary>Switch to VT 3</_summary>
</key>
<key name="switch-to-session-4" type="as">
- <default><![CDATA[['<Primary><Alt>F4']]]></default>
+ <default><![CDATA[['<Primary><Alt>F4', 'XF86Switch_VT_4']]]></default>
<_summary>Switch to VT 4</_summary>
</key>
<key name="switch-to-session-5" type="as">
- <default><![CDATA[['<Primary><Alt>F5']]]></default>
+ <default><![CDATA[['<Primary><Alt>F5', 'XF86Switch_VT_5']]]></default>
<_summary>Switch to VT 5</_summary>
</key>
<key name="switch-to-session-6" type="as">
- <default><![CDATA[['<Primary><Alt>F6']]]></default>
+ <default><![CDATA[['<Primary><Alt>F6', 'XF86Switch_VT_6']]]></default>
<_summary>Switch to VT 6</_summary>
</key>
<key name="switch-to-session-7" type="as">
- <default><![CDATA[['<Primary><Alt>F7']]]></default>
+ <default><![CDATA[['<Primary><Alt>F7', 'XF86Switch_VT_7']]]></default>
<_summary>Switch to VT 7</_summary>
</key>
</schema>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]