neuswc

patched neuswc library (tracked)
git clone https://git.daat.foo/neuswc.git
Log | Files | Refs | README | LICENSE

commit 92e1b9a71583216d61a03e7e82b3ecd1b22b559e
parent 2fed37576d88dd9849c5174ea980a38651d2c391
Author: cowmonk <cowmonk@based.pt>
Date:   Tue, 24 Nov 2026 08:37:08 -0700

tileraise patch

probably won't be upstreamed, all it does is change how the neuswc
inserts a tile. It just walks the visible stack (top->down) and
walks past floats and stops at the first tile instead of the first
ordinary window. This might be a "breaking" change considering how
other people might design their compositors.

Diffstat:
Mlibswc/compositor.c | 3++-
Apatches/tiledRaise.patch | 14++++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/libswc/compositor.c b/libswc/compositor.c @@ -1303,7 +1303,8 @@ raise_window(struct compositor_view *view) break; } - if (other->window) { + if (other->window && (view->window->mode != WINDOW_MODE_TILED || + other->window->mode == WINDOW_MODE_TILED)) { top_window = other; break; } diff --git a/patches/tiledRaise.patch b/patches/tiledRaise.patch @@ -0,0 +1,14 @@ +diff --git a/libswc/compositor.c b/libswc/compositor.c +index 16c68ae..f5bee90 100644 +--- a/libswc/compositor.c ++++ b/libswc/compositor.c +@@ -1303,7 +1303,8 @@ raise_window(struct compositor_view *view) + break; + } + +- if (other->window) { ++ if (other->window && (view->window->mode != WINDOW_MODE_TILED || ++ other->window->mode == WINDOW_MODE_TILED)) { + top_window = other; + break; + }