[totem] main: Fix kbd shortcuts when using ModeSwitch
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Fix kbd shortcuts when using ModeSwitch
- Date: Tue, 3 Apr 2012 18:12:47 +0000 (UTC)
commit 9a8502cbe9050309c523e5eeafe0ad9053a2a0ea
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 684c9b3..667c8b3 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -3903,8 +3903,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]