From f171ae19f667f8ae27f132b1db8a45fb891dce5d Mon Sep 17 00:00:00 2001 From: Reginald Kennedy Date: Sun, 26 Aug 2012 19:09:42 +0800 Subject: [PATCH] Fix 'focus_mode = default' to ignore pointer position on startup. --- spectrwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.2