X-Git-Url: https://code.delx.au/spectrwm/blobdiff_plain/214aca697c8423be1f88948c09bc7e25b8e8d7f8..9d5207775be4ae435c7836ce59cba4fa0f8ecaac:/spectrwm.c 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