From ff8572fc0d8384c97fb793042de678e67aa32ca8 Mon Sep 17 00:00:00 2001 From: Scoopta Date: Fri, 3 Jan 2020 19:54:29 -0800 Subject: [PATCH] Shift+Tab now goes backwards --- src/wofi.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/wofi.c b/src/wofi.c index 5695633..1e9668f 100644 --- a/src/wofi.c +++ b/src/wofi.c @@ -633,9 +633,6 @@ static gboolean key_press(GtkWidget* widget, GdkEvent* event, gpointer data) { case GDK_KEY_Escape: exit(0); break; - case GDK_KEY_Up: - case GDK_KEY_Left: - break; case GDK_KEY_Return: mod_shift = (event->key.state & GDK_SHIFT_MASK) == GDK_SHIFT_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; } break; - case GDK_KEY_Shift_L:case GDK_KEY_Shift_R: - case GDK_KEY_Control_L:case GDK_KEY_Control_R: + case GDK_KEY_Up: + 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; default: if(!gtk_widget_has_focus(entry)) {