]> Skullheadx's Git Forge - surf.git/commitdiff
allow all modifiers.
authorEnno Boland (Gottox) <gottox@s01.de>
Mon, 8 Jun 2009 19:36:37 +0000 (21:36 +0200)
committerEnno Boland (Gottox) <gottox@s01.de>
Mon, 8 Jun 2009 19:36:37 +0000 (21:36 +0200)
surf.c

diff --git a/surf.c b/surf.c
index 97670dc169c408cc0ffdc5a25961997b52d735c7..fae33d5546b0bbe5577c2f7ae9113ca547262599 100644 (file)
--- 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: