Shift+Tab now goes backwards
This commit is contained in:
parent
2c034d5d09
commit
ff8572fc0d
12
src/wofi.c
12
src/wofi.c
@ -633,9 +633,6 @@ static gboolean key_press(GtkWidget* widget, GdkEvent* event, gpointer data) {
|
|||||||
case GDK_KEY_Escape:
|
case GDK_KEY_Escape:
|
||||||
exit(0);
|
exit(0);
|
||||||
break;
|
break;
|
||||||
case GDK_KEY_Up:
|
|
||||||
case GDK_KEY_Left:
|
|
||||||
break;
|
|
||||||
case GDK_KEY_Return:
|
case GDK_KEY_Return:
|
||||||
mod_shift = (event->key.state & GDK_SHIFT_MASK) == GDK_SHIFT_MASK;
|
mod_shift = (event->key.state & GDK_SHIFT_MASK) == GDK_SHIFT_MASK;
|
||||||
mod_ctrl = (event->key.state & GDK_CONTROL_MASK) == GDK_CONTROL_MASK;
|
mod_ctrl = (event->key.state & GDK_CONTROL_MASK) == GDK_CONTROL_MASK;
|
||||||
@ -664,8 +661,13 @@ static gboolean key_press(GtkWidget* widget, GdkEvent* event, gpointer data) {
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case GDK_KEY_Shift_L:case GDK_KEY_Shift_R:
|
case GDK_KEY_Up:
|
||||||
case GDK_KEY_Control_L:case GDK_KEY_Control_R:
|
case GDK_KEY_Left:
|
||||||
|
case GDK_KEY_Shift_L:
|
||||||
|
case GDK_KEY_Shift_R:
|
||||||
|
case GDK_KEY_Control_L:
|
||||||
|
case GDK_KEY_Control_R:
|
||||||
|
case GDK_KEY_ISO_Left_Tab:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if(!gtk_widget_has_focus(entry)) {
|
if(!gtk_widget_has_focus(entry)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user