[mutter] Teach meta_display_get_keybinding_action() about "Above_Tab"	pseudo-keysym
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [mutter] Teach meta_display_get_keybinding_action() about "Above_Tab"	pseudo-keysym
- Date: Sun, 16 Jan 2011 18:56:52 +0000 (UTC)
commit bbfc435a5c6da3a13382d9fe5d616630eed8305e
Author: Rui Matos <tiagomatos gmail com>
Date:   Fri Jan 14 16:46:31 2011 +0000
    Teach meta_display_get_keybinding_action() about "Above_Tab" pseudo-keysym
    
    https://bugzilla.gnome.org/show_bug.cgi?id=639532
 src/core/keybindings.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index b280233..8e4f3a7 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -535,6 +535,9 @@ meta_display_get_keybinding_action (MetaDisplay  *display,
   mask = mask & 0xff & ~display->ignored_modifier_mask;
   binding = display_get_keybinding (display, keysym, keycode, mask);
 
+  if (!binding && keycode == meta_display_get_above_tab_keycode (display))
+    binding = display_get_keybinding (display, META_KEY_ABOVE_TAB, keycode, mask);
+
   if (binding)
     return meta_prefs_get_keybinding_action (binding->name);
   else
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]