allow all modifiers.
This commit is contained in:
parent
d408ffb595
commit
ccb449f42e
1 changed files with 1 additions and 1 deletions
2
surf.c
2
surf.c
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue