diff options
| author | Alan Hourihane <alanh@vmware.com> | 2009-03-11 13:33:49 +0000 | 
|---|---|---|
| committer | Alan Hourihane <alanh@vmware.com> | 2009-03-11 13:35:27 +0000 | 
| commit | b6c7db8debaba2446de62efbabb2efb5b374cc5b (patch) | |
| tree | 933a606660c3bdd6822b52ad5901e7a5a1e07255 | |
| parent | 5146b3f8fcafda69ded05a55ec4d54ae2aed35d1 (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 cfea555210..ee357f32a4 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: | 
