aboutsummaryrefslogtreecommitdiff
path: root/src/root.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/root.zig')
-rw-r--r--src/root.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/root.zig b/src/root.zig
index 473eb2d..b6f928e 100644
--- a/src/root.zig
+++ b/src/root.zig
@@ -67,7 +67,7 @@ pub const Root = struct {
pub fn addView(self: *Self, wlr_xdg_surface: *c.wlr_xdg_surface) void {
const node = self.views.allocateNode(self.server.allocator) catch unreachable;
node.data.init(self, wlr_xdg_surface);
- self.unmapped_views.append(node);
+ self.unmapped_views.prepend(node);
}
/// Finds the topmost view under the output layout coordinates lx, ly