mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Shutdown NoGUI build properly in linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5202 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
6723a91664
commit
d6b9a2ec81
2 changed files with 18 additions and 7 deletions
|
@ -259,8 +259,7 @@ THREAD_RETURN XEventThread(void *pArg)
|
|||
{
|
||||
XEvent event;
|
||||
KeySym key;
|
||||
int num_events;
|
||||
for (num_events = XPending(GLWin.dpy);num_events > 0;num_events--) {
|
||||
for (int num_events = XPending(GLWin.dpy); num_events > 0; num_events--) {
|
||||
XNextEvent(GLWin.dpy, &event);
|
||||
switch(event.type) {
|
||||
case KeyPress:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue