git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commite2fd7749e6b33999c2fa7562e330e488d8426b59
parent60fa9ac419
authorIsaac Freund <[email protected]>
date2024-01-09 13:11
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);
         }
         {