1
From 67165f516f87adc1b20f3339294299565f6db56d Mon Sep 17 00:00:00 2001
2
From: Dmitry Shachnev <mitya57@ubuntu.com>
3
Date: Thu, 11 Apr 2013 14:34:49 +0000
4
Subject: Add support for switch-applications keybindings
6
In gsettings-desktop-schemas 3.8, there is not shortcut for
7
switch-windows, and Alt+Tab points to switch-applications by
10
As we do not support switching applications, but want Alt+Tab to
11
work, just bind switch-applications to the same action as
12
switch-windows is currently bound to (and the same for -backward).
14
https://bugzilla.gnome.org/show_bug.cgi?id=697801
16
diff --git a/src/50-metacity-navigation.xml.in b/src/50-metacity-navigation.xml.in
17
index fc0b457..597cc47 100644
18
--- a/src/50-metacity-navigation.xml.in
19
+++ b/src/50-metacity-navigation.xml.in
21
_description="Move window one workspace down" />
23
<KeyListEntry name="switch-windows"
24
+ _description="Switch windows"/>
26
+ <KeyListEntry name="switch-applications"
27
_description="Switch applications"/>
29
<KeyListEntry name="switch-group"
30
diff --git a/src/include/all-keybindings.h b/src/include/all-keybindings.h
31
index f1aa02d..a930726 100644
32
--- a/src/include/all-keybindings.h
33
+++ b/src/include/all-keybindings.h
34
@@ -129,6 +129,12 @@ keybind (switch-group-backward, handle_switch, META_TAB_LIST_GROUP,
35
keybind (switch-windows, handle_switch, META_TAB_LIST_NORMAL, BINDING_REVERSES)
36
keybind (switch-windows-backward, handle_switch, META_TAB_LIST_NORMAL,
37
REVERSES_AND_REVERSED)
38
+/* We do not support switching applications, so we map these to switching
40
+keybind (switch-applications, handle_switch, META_TAB_LIST_NORMAL,
42
+keybind (switch-applications-backward, handle_switch, META_TAB_LIST_NORMAL,
43
+ REVERSES_AND_REVERSED)
44
keybind (switch-panels, handle_switch, META_TAB_LIST_DOCKS, BINDING_REVERSES)
45
keybind (switch-panels-backward, handle_switch, META_TAB_LIST_DOCKS,
46
REVERSES_AND_REVERSED)