From: Reginald Kennedy Date: Sun, 11 Nov 2012 05:00:30 +0000 (+0800) Subject: Fix issue where rapid window crossing events might get ignored. X-Git-Tag: SPECTRWM_2_1_1~5 X-Git-Url: https://code.delx.au/spectrwm/commitdiff_plain/9d5207775be4ae435c7836ce59cba4fa0f8ecaac Fix issue where rapid window crossing events might get ignored. --- diff --git a/spectrwm.c b/spectrwm.c index 4530bd7..a565162 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -8209,7 +8209,7 @@ enternotify(xcb_enter_notify_event_t *e) /* If no windows on pointer region, then focus root. */ r = root_to_region(e->root, SWM_CK_POINTER); if (r == NULL) { - DNPRINTF(SWM_D_EVENT, "enterntoify: " + DNPRINTF(SWM_D_EVENT, "enternotify: " "NULL region; ignoring.\n"); return; } @@ -8224,7 +8224,7 @@ enternotify(xcb_enter_notify_event_t *e) focus_win(get_focus_magic(win)); } - focus_flush(); + xcb_flush(conn); } #ifdef SWM_DEBUG