From 8fed3f5a361ab3ae1bc9dfc4b7a2a77270d35bb1 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Mon, 22 Nov 2021 16:45:34 +0100 Subject: Add a better key binding for switching --- fastiv.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fastiv.c b/fastiv.c index 7d38384..99570ad 100644 --- a/fastiv.c +++ b/fastiv.c @@ -471,6 +471,13 @@ on_key_press_view(G_GNUC_UNUSED GtkWidget *widget, GdkEventKey *event, switch_to_browser(); return TRUE; } + break; + case GDK_MOD1_MASK: + switch (event->keyval) { + case GDK_KEY_Left: + switch_to_browser(); + return TRUE; + } } return FALSE; } -- cgit v1.2.3-70-g09d2