diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-27 19:58:44 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-27 20:00:05 +0200 |
| commit | ce8d8a7825576a011001f1decada8a05a5ca2ad2 (patch) | |
| tree | 0f514d60a8ec190fd9b39bd66e2c88cc81c356d6 /src/output.zig | |
| parent | 460fb6da19bec78fdda67851d9dc77d7ec6649e9 (diff) | |
| download | river-ce8d8a7825576a011001f1decada8a05a5ca2ad2.tar.gz river-ce8d8a7825576a011001f1decada8a05a5ca2ad2.tar.xz | |
Arrange layers on layer surface destroy
Fixes https://github.com/ifreund/river/issues/15
Diffstat (limited to 'src/output.zig')
| -rw-r--r-- | src/output.zig | 8 |
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, + ); } } |
