mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-22 05:30:31 +01:00
xdemos: On termination with esc close the contexts correctly.
This commit is contained in:
parent
2adaec1226
commit
45c4b4dfbd
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue