aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 1997951..289e875 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -322,6 +322,11 @@ static gboolean key_press_sig(GtkWidget *da, GdkEventKey *event,
next_slide_sig(NULL, p);
break;
+ case GDK_KEY_Escape :
+ if ( p->slideshow != NULL ) end_slideshow(p);
+ p->editing_object = NULL;
+ break;
+
}
/* FIXME: Invalidate only the necessary region */