From 8d5c2d8cbbae0425d12c87bb0f9723fc8f836041 Mon Sep 17 00:00:00 2001 From: o9000 Date: Tue, 14 Jul 2015 08:33:03 +0200 Subject: [PATCH] tint: remove inner loop from the main event loop --- src/tint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)