projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5146b3f
)
xdemos: On termination with `esc` close the contexts correctly.
author
Alan Hourihane
<alanh@vmware.com>
Wed, 11 Mar 2009 13:33:49 +0000
(13:33 +0000)
committer
Alan Hourihane
<alanh@vmware.com>
Wed, 11 Mar 2009 13:35:27 +0000
(13:35 +0000)
progs/xdemos/manywin.c
patch
|
blob
|
history
diff --git
a/progs/xdemos/manywin.c
b/progs/xdemos/manywin.c
index cfea555210af8c615803a4347baa6260f0ef2eca..ee357f32a402c3e1411501136131c28c08b6cdb1 100644
(file)
--- 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: