From 55953d52390521e9ee75450c347096c5dd5a4095 Mon Sep 17 00:00:00 2001 From: David Hill Date: Thu, 12 Jul 2012 21:21:19 -0400 Subject: [PATCH] move drain_enter_notify back to Xlib events til we are ready to do everything --- spectrwm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spectrwm.c b/spectrwm.c index e65356f..6942be9 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -2044,8 +2044,9 @@ void drain_enter_notify(void) { int i = 0; + XEvent cne; - while (xcb_poll_for_event(conn)) + while (XCheckMaskEvent(display, EnterWindowMask, &cne)) i++; DNPRINTF(SWM_D_EVENT, "drain_enter_notify: drained: %d\n", i); -- 2.39.2