forked from old/legacy-imlib2
Fix incorrect event loop causing 100% load until an X event is received.
SVN revision: 35901
This commit is contained in:
parent
ad29accb17
commit
4edfe21515
|
@ -158,8 +158,6 @@ main(int argc, char **argv)
|
||||||
double t1;
|
double t1;
|
||||||
|
|
||||||
XFlush(disp);
|
XFlush(disp);
|
||||||
while (XPending(disp))
|
|
||||||
{
|
|
||||||
XNextEvent(disp, &ev);
|
XNextEvent(disp, &ev);
|
||||||
switch (ev.type)
|
switch (ev.type)
|
||||||
{
|
{
|
||||||
|
@ -350,8 +348,6 @@ main(int argc, char **argv)
|
||||||
timeout = 0;
|
timeout = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue