From 3b8acfe3996a2864a6b0ad5d1838cb322ec18802 Mon Sep 17 00:00:00 2001 From: Reginald Kennedy Date: Fri, 8 Mar 2013 09:17:49 +0800 Subject: [PATCH] Fix fullscreen layout stacking issue when using multiple regions. --- spectrwm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spectrwm.c b/spectrwm.c index e19636a..3b11992 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -4498,6 +4498,8 @@ max_stack(struct workspace *ws, struct swm_geometry *g) win = ws->focus_pending; else if (ws->focus) win = ws->focus; + else if (ws->focus_prev) + win = ws->focus_prev; else win = TAILQ_FIRST(&ws->winlist); -- 1.7.10.4