aboutsummaryrefslogtreecommitdiff
path: root/fastiv.c
diff options
context:
space:
mode:
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: