allow all modifiers.
[surf.git] / surf.c
diff --git a/surf.c b/surf.c
index f278ac7..fae33d5 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_CONTROL_MASK || ev->state == (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) {
+       if(ev->state & GDK_CONTROL_MASK) {
                switch(ev->keyval) {
                case GDK_r:
                case GDK_R: