aboutsummaryrefslogtreecommitdiff
path: root/fastiv.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-29 22:44:51 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-29 22:45:36 +0100
commit1db233648fee07903f030adb4c94d8d76d4c3f8b (patch)
tree07d77d99b797d6b1f228eb973983186cc0d6f0b5 /fastiv.c
parentcfe3dc55c6e1133b0fbe342e63965aec2437a7c3 (diff)
downloadfiv-1db233648fee07903f030adb4c94d8d76d4c3f8b.tar.gz
fiv-1db233648fee07903f030adb4c94d8d76d4c3f8b.tar.xz
fiv-1db233648fee07903f030adb4c94d8d76d4c3f8b.zip
Add more key bindings
Diffstat (limited to 'fastiv.c')
-rw-r--r--fastiv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fastiv.c b/fastiv.c
index 4387033..03e4af9 100644
--- a/fastiv.c
+++ b/fastiv.c
@@ -423,6 +423,10 @@ on_key_press(G_GNUC_UNUSED GtkWidget *widget, GdkEventKey *event,
case GDK_KEY_n:
spawn_path(g.directory);
return TRUE;
+ case GDK_KEY_q:
+ case GDK_KEY_w:
+ gtk_widget_destroy(g.window);
+ return TRUE;
}
break;
case 0: