aboutsummaryrefslogtreecommitdiff
path: root/src/output.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/output.zig')
-rw-r--r--src/output.zig8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/output.zig b/src/output.zig
index 7ef053f..5530b77 100644
--- a/src/output.zig
+++ b/src/output.zig
@@ -464,7 +464,13 @@ pub const Output = struct {
}
}
- layer_surface.sendConfigure();
+ // Tell the client to assume the new size
+ Log.Debug.log("send configure, {} x {}", .{ layer_surface.box.width, layer_surface.box.height });
+ c.wlr_layer_surface_v1_configure(
+ layer_surface.wlr_layer_surface,
+ layer_surface.box.width,
+ layer_surface.box.height,
+ );
}
}