diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-11-22 16:45:34 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-11-22 16:46:04 +0100 |
commit | 8fed3f5a361ab3ae1bc9dfc4b7a2a77270d35bb1 (patch) | |
tree | 57a369f25c85954eb8bfa6f2003b338d42f31148 | |
parent | 8efd11d4e59b67d8fcf8e0d69cbb3cc9d62795e5 (diff) | |
download | fiv-8fed3f5a361ab3ae1bc9dfc4b7a2a77270d35bb1.tar.gz fiv-8fed3f5a361ab3ae1bc9dfc4b7a2a77270d35bb1.tar.xz fiv-8fed3f5a361ab3ae1bc9dfc4b7a2a77270d35bb1.zip |
Add a better key binding for switching
-rw-r--r-- | fastiv.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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; } |