about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEnno Boland (Gottox) <gottox@s01.de>2009-06-08 21:36:37 +0200
committerEnno Boland (Gottox) <gottox@s01.de>2009-06-08 21:36:37 +0200
commitccb449f42e1b52c2152b8b91563dc4ffdcd173a9 (patch)
tree3a68ed1d381b4334118f53be6b6af04d38ff53d5
parentFixing keybindings when numlock is enabled. (diff)
downloadsurf-ccb449f42e1b52c2152b8b91563dc4ffdcd173a9.tar.gz
surf-ccb449f42e1b52c2152b8b91563dc4ffdcd173a9.tar.bz2
surf-ccb449f42e1b52c2152b8b91563dc4ffdcd173a9.zip
allow all modifiers.
-rw-r--r--surf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/surf.c b/surf.c
index 97670dc..fae33d5 100644
--- a/surf.c
+++ b/surf.c
@@ -204,7 +204,7 @@ keypress(GtkWidget* w, GdkEventKey *ev, gpointer d) {
 			return FALSE;
 		}
 	}
-	if((ev->state & ~(GDK_SHIFT_MASK|GDK_LOCK_MASK)) == GDK_CONTROL_MASK) {
+	if(ev->state & GDK_CONTROL_MASK) {
 		switch(ev->keyval) {
 		case GDK_r:
 		case GDK_R: