From: Enno Boland (Gottox) Date: Mon, 8 Jun 2009 19:36:37 +0000 (+0200) Subject: allow all modifiers. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=ccb449f42e1b52c2152b8b91563dc4ffdcd173a9;p=surf.git allow all modifiers. --- 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: