From ce8d8a7825576a011001f1decada8a05a5ca2ad2 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Mon, 27 Apr 2020 19:58:44 +0200 Subject: Arrange layers on layer surface destroy Fixes https://github.com/ifreund/river/issues/15 --- src/output.zig | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/output.zig') 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, + ); } } -- cgit v1.2.3