mi: only print the "EQ overflowing" error once.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2009-02-26 14:40:22 +10:00
parent a706dd8771
commit b874a5c0aa

View File

@ -176,9 +176,9 @@ mieqEnqueue(DeviceIntPtr pDev, InternalEvent *e)
* stuck in an infinite loop somewhere, but SIGIO is still getting
* handled. */
if (((oldtail + 1) % QUEUE_SIZE) == miEventQueue.head) {
ErrorF("[mi] EQ overflowing. The server is probably stuck "
"in an infinite loop.\n");
if (!stuck) {
ErrorF("[mi] EQ overflowing. The server is probably stuck "
"in an infinite loop.\n");
xorg_backtrace();
stuck = 1;
}