diff --git a/src/tint.c b/src/tint.c index 23a0f8c..62951cd 100644 --- a/src/tint.c +++ b/src/tint.c @@ -1219,7 +1219,7 @@ start: sigchld_handler_async(); } } - while (XPending(server.dsp) > 0) { + if (XPending(server.dsp) > 0) { XNextEvent(server.dsp, &e); #if HAVE_SN if (startup_notifications)