Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git
Root: fix stack order on restore from 0 outputs
river/Root.zig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/river/Root.zig b/river/Root.zig
index ef2bb65..5c3238d 100644
--- a/river/Root.zig
+++ b/river/Root.zig
@@ -379,7 +379,7 @@ pub fn activateOutput(root: *Self, output: *Output) void {
output.pending.tags = root.fallback.tags;
{
- var it = root.fallback.pending.focus_stack.safeIterator(.reverse);
+ var it = root.fallback.pending.wm_stack.safeIterator(.reverse);
while (it.next()) |view| view.setPendingOutput(output);
}
{