From: Reginald Kennedy Date: Sun, 26 Aug 2012 11:09:42 +0000 (+0800) Subject: Fix 'focus_mode = default' to ignore pointer position on startup. X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=f171ae19f667f8ae27f132b1db8a45fb891dce5d;p=spectrwm.git Fix 'focus_mode = default' to ignore pointer position on startup. --- diff --git a/spectrwm.c b/spectrwm.c index b2adf80..c69245b 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -8708,7 +8708,7 @@ noconfig: } /* If just (re)started, set default focus if needed. */ - if (winfocus && focus_mode == SWM_FOCUS_MANUAL) { + if (winfocus && focus_mode != SWM_FOCUS_FOLLOW) { rr = winfocus->ws->r; if (rr == NULL) { /* not a visible window */