summaryrefslogtreecommitdiffstats
path: root/progs/xdemos/manywin.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/xdemos/manywin.c')
-rw-r--r--progs/xdemos/manywin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/manywin.c b/progs/xdemos/manywin.c
index cfea555210a..ee357f32a40 100644
--- a/progs/xdemos/manywin.c
+++ b/progs/xdemos/manywin.c
@@ -286,7 +286,7 @@ EventLoop(void)
XLookupString(&event.xkey, buf, sizeof(buf), &keySym, &stat);
switch (keySym) {
case XK_Escape:
- exit(0);
+ return;
break;
case XK_d:
case XK_D: