aboutsummaryrefslogtreecommitdiff
path: root/fastiv.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-22 16:45:34 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-22 16:46:04 +0100
commit8fed3f5a361ab3ae1bc9dfc4b7a2a77270d35bb1 (patch)
tree57a369f25c85954eb8bfa6f2003b338d42f31148 /fastiv.c
parent8efd11d4e59b67d8fcf8e0d69cbb3cc9d62795e5 (diff)
downloadfiv-8fed3f5a361ab3ae1bc9dfc4b7a2a77270d35bb1.tar.gz
fiv-8fed3f5a361ab3ae1bc9dfc4b7a2a77270d35bb1.tar.xz
fiv-8fed3f5a361ab3ae1bc9dfc4b7a2a77270d35bb1.zip
Add a better key binding for switching
Diffstat (limited to 'fastiv.c')
-rw-r--r--fastiv.c7
1 files changed, 7 insertions, 0 deletions
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;
}