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:
Glenn Rice 2010-06-21 12:29:32 +00:00
parent 9e3b653688
commit 11ac672730

View File

@ -164,7 +164,7 @@ THREAD_RETURN XEventThread(void *pArg)
{
XEvent event;
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);
switch(event.type) {
case KeyPress: