From: Reginald Kennedy Date: Sun, 15 Jul 2012 15:29:20 +0000 (+0800) Subject: Drain EnterNotify in stack() when appropriate. X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=9a58fa26bae6925b4db8055a9e130139b8ce579d;p=spectrwm.git Drain EnterNotify in stack() when appropriate. --- diff --git a/spectrwm.c b/spectrwm.c index f2c67fa..2324a48 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -3059,6 +3059,9 @@ stack(void) { if (font_adjusted) font_adjusted--; + if (focus_mode == SWM_FOCUS_DEFAULT) + event_drain(XCB_ENTER_NOTIFY); + DNPRINTF(SWM_D_STACK, "stack: end\n"); }