diff options
author | Alan Hourihane <[email protected]> | 2009-03-11 13:33:49 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2009-03-11 13:36:26 +0000 |
commit | 45c4b4dfbd019260dd0df37ba6776c77149ec7ba (patch) | |
tree | c42054517a2895f50b384cfa836005fc3f4b81af | |
parent | 2adaec12267767747a22646c759b0d6c1651d3bf (diff) |
xdemos: On termination with `esc` close the contexts correctly.
-rw-r--r-- | progs/xdemos/manywin.c | 2 |
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: |