Root: fix stack order on restore from 0 outputs

This commit is contained in:
Isaac Freund 2024-01-09 13:11:16 -06:00
parent c38e7e2d87
commit cc1f988e56
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11

View File

@ -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);
}
{