commit | b6c7db8debaba2446de62efbabb2efb5b374cc5b | [log] [tgz] |
---|---|---|
author | Alan Hourihane <alanh@vmware.com> | Wed Mar 11 13:33:49 2009 +0000 |
committer | Alan Hourihane <alanh@vmware.com> | Wed Mar 11 13:35:27 2009 +0000 |
tree | 933a606660c3bdd6822b52ad5901e7a5a1e07255 | |
parent | 5146b3f8fcafda69ded05a55ec4d54ae2aed35d1 [diff] [blame] |
xdemos: On termination with `esc` close the contexts correctly.
diff --git a/progs/xdemos/manywin.c b/progs/xdemos/manywin.c index cfea555..ee357f3 100644 --- a/progs/xdemos/manywin.c +++ b/progs/xdemos/manywin.c
@@ -286,7 +286,7 @@ XLookupString(&event.xkey, buf, sizeof(buf), &keySym, &stat); switch (keySym) { case XK_Escape: - exit(0); + return; break; case XK_d: case XK_D: