summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: