[totem/gnome-3-4] main: Fix kbd shortcuts when using ModeSwitch



commit 171012dcfd18ce8a756d1d42fc8ba9e807ea4577
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Apr 3 19:02:14 2012 +0100

    main: Fix kbd shortcuts when using ModeSwitch
    
    We shouldn't pass keys to GTK+ if ISO_Level3_Shift or Mode_switch
    is enabled.

 src/totem-object.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index dafb1d7..882afeb 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -3870,8 +3870,7 @@ window_key_press_event_cb (GtkWidget *win, GdkEventKey *event, TotemObject *tote
 			&& ((event->state & GDK_CONTROL_MASK)
 			|| (event->state & GDK_MOD1_MASK)
 			|| (event->state & GDK_MOD3_MASK)
-			|| (event->state & GDK_MOD4_MASK)
-			|| (event->state & GDK_MOD5_MASK)))
+			|| (event->state & GDK_MOD4_MASK)))
 		return FALSE;
 
 	if (event->type == GDK_KEY_PRESS) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]