JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
move drain_enter_notify back to Xlib events til we are ready to do everything
authorDavid Hill <dhill@conformal.com>
Fri, 13 Jul 2012 01:21:19 +0000 (21:21 -0400)
committerReginald Kennedy <rk@rejii.com>
Fri, 20 Jul 2012 21:58:33 +0000 (05:58 +0800)
spectrwm.c

index e65356f..6942be9 100644 (file)
@@ -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);