Fix incorrect event loop causing 100% load until an X event is received.

SVN revision: 35901
This commit is contained in:
Kim Woelders 2008-09-09 20:11:35 +00:00
parent ad29accb17
commit 4edfe21515
1 changed files with 0 additions and 4 deletions

View File

@ -158,8 +158,6 @@ main(int argc, char **argv)
double t1;
XFlush(disp);
while (XPending(disp))
{
XNextEvent(disp, &ev);
switch (ev.type)
{
@ -350,8 +348,6 @@ main(int argc, char **argv)
timeout = 0;
}
}
}
}
return 0;
}