commit 5908420399e5456b44563ce93fcd13633a2e592f parent b94e75c4d9f22f770055992f3ab77a2adff7ace3 Author: cowmonk <cowmonk@based.pt> Date: Tue, 24 Nov 2026 08:43:00 -0700 dmw: keep floating over tiled This relies on the new neuswc tileRaised.patch! Please update your neuswc with my version. Diffstat:
| M | dmw.c | | | 10 | ++-------- |
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/dmw.c b/dmw.c @@ -195,15 +195,8 @@ restack(struct Monitor *m) { struct Client *c = m->sel; - if (!c || !ISVISIBLE(c)) - return; - if (c->mode != Tiled || m->lt[m->sellt]->arrange == monocle) { + if (c && ISVISIBLE(c)) swc_window_raise(c->win); - if (c->mode == Tiled) - for (c = m->stack; c; c = c->snext) - if (c->isfloating && ISVISIBLE(c)) - swc_window_raise(c->win); - } } static void @@ -314,6 +307,7 @@ arrange(struct Monitor *m) else swc_window_set_stacked(c->win); c->mode = mode; + swc_window_raise(c->win); } if (ISVISIBLE(c)) { swc_window_show(c->win);