mirror of https://github.com/cy384/ssheven.git
improve keyboard responsiveness
This commit is contained in:
parent
11585048d1
commit
b51a26a924
|
@ -614,7 +614,7 @@ void event_loop(void)
|
|||
// handle any GUI events
|
||||
unsigned char c = 0;
|
||||
|
||||
switch(event.what)
|
||||
switch (event.what)
|
||||
{
|
||||
case updateEvt:
|
||||
eventWin = (WindowPtr)event.message;
|
||||
|
@ -691,6 +691,8 @@ void event_loop(void)
|
|||
}
|
||||
break;
|
||||
}
|
||||
|
||||
YieldToAnyThread();
|
||||
} while (!exit_event_loop);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue