allow all modifiers.

This commit is contained in:
Enno Boland (Gottox) 2009-06-08 21:36:37 +02:00
parent d408ffb595
commit ccb449f42e

2
surf.c
View file

@ -204,7 +204,7 @@ keypress(GtkWidget* w, GdkEventKey *ev, gpointer d) {
return FALSE; return FALSE;
} }
} }
if((ev->state & ~(GDK_SHIFT_MASK|GDK_LOCK_MASK)) == GDK_CONTROL_MASK) { if(ev->state & GDK_CONTROL_MASK) {
switch(ev->keyval) { switch(ev->keyval) {
case GDK_r: case GDK_r:
case GDK_R: case GDK_R: