JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Fix fullscreen layout stacking issue when using multiple regions.
[spectrwm.git] / spectrwm.c
index e19636a..3b11992 100644 (file)
@@ -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);