summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@ubuntu.com>2013-05-27 20:18:39 +0400
committerJeremy Bicha <jbicha@ubuntu.com>2013-05-30 13:09:09 -0400
commitda8aba77fcd10a4973df96d7e03cffad40c5aea1 (patch)
tree551bc6c202562bdd65cf0cb645038fcfe837a72a /src/core
parent67165f516f87adc1b20f3339294299565f6db56d (diff)
downloadmetacity-da8aba77fcd10a4973df96d7e03cffad40c5aea1.tar.gz
Also add META_KEYBINDING_ACTIONs for switching applications
https://bugzilla.gnome.org/show_bug.cgi?id=697801
Diffstat (limited to 'src/core')
-rw-r--r--src/core/keybindings.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 08d861e7..cc093b01 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -2134,8 +2134,10 @@ process_tab_grab (MetaDisplay *display,
break;
case META_KEYBINDING_ACTION_SWITCH_PANELS:
case META_KEYBINDING_ACTION_SWITCH_WINDOWS:
+ case META_KEYBINDING_ACTION_SWITCH_APPLICATIONS:
case META_KEYBINDING_ACTION_SWITCH_PANELS_BACKWARD:
case META_KEYBINDING_ACTION_SWITCH_WINDOWS_BACKWARD:
+ case META_KEYBINDING_ACTION_SWITCH_APPLICATIONS_BACKWARD:
/* SWITCH_* are traditionally Tab-based actions,
* and should cancel traditionally Escape-based ones.
*/
@@ -2206,11 +2208,13 @@ process_tab_grab (MetaDisplay *display,
break;
case META_KEYBINDING_ACTION_SWITCH_PANELS:
case META_KEYBINDING_ACTION_SWITCH_WINDOWS:
+ case META_KEYBINDING_ACTION_SWITCH_APPLICATIONS:
case META_KEYBINDING_ACTION_SWITCH_GROUP:
key_used = TRUE;
break;
case META_KEYBINDING_ACTION_SWITCH_PANELS_BACKWARD:
case META_KEYBINDING_ACTION_SWITCH_WINDOWS_BACKWARD:
+ case META_KEYBINDING_ACTION_SWITCH_APPLICATIONS_BACKWARD:
case META_KEYBINDING_ACTION_SWITCH_GROUP_BACKWARD:
key_used = TRUE;
backward = TRUE;