mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
Revert a hack that snzgoo committed that should not have been commited. That hack prevents the X loop in GLUtil.cpp from properly detecting events that it should detect.
I don't know if issue 2792 is a valid issue for dolphin. I think that is a bug in the X server implementation on those distributions of those affected. I can not replicate it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5758 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
9e3b653688
commit
11ac672730
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ THREAD_RETURN XEventThread(void *pArg)
|
||||||
{
|
{
|
||||||
XEvent event;
|
XEvent event;
|
||||||
KeySym key;
|
KeySym key;
|
||||||
for (int num_events = XPending(GLWin.dpy) -1; num_events > 0; num_events--) {
|
for (int num_events = XPending(GLWin.dpy); num_events > 0; num_events--) {
|
||||||
XNextEvent(GLWin.dpy, &event);
|
XNextEvent(GLWin.dpy, &event);
|
||||||
switch(event.type) {
|
switch(event.type) {
|
||||||
case KeyPress:
|
case KeyPress:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue