From: Alan Hourihane Date: Wed, 11 Mar 2009 13:33:49 +0000 (+0000) Subject: xdemos: On termination with `esc` close the contexts correctly. X-Git-Tag: 062012170305~17580^2~196 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b6c7db8debaba2446de62efbabb2efb5b374cc5b;p=profile%2Fivi%2Fmesa.git 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 @@ 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: