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
|
// handle any GUI events
|
||||||
unsigned char c = 0;
|
unsigned char c = 0;
|
||||||
|
|
||||||
switch(event.what)
|
switch (event.what)
|
||||||
{
|
{
|
||||||
case updateEvt:
|
case updateEvt:
|
||||||
eventWin = (WindowPtr)event.message;
|
eventWin = (WindowPtr)event.message;
|
||||||
|
@ -691,6 +691,8 @@ void event_loop(void)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
YieldToAnyThread();
|
||||||
} while (!exit_event_loop);
|
} while (!exit_event_loop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue