diff options
| author | Isaac Freund <mail@isaacfreund.com> | 2022-08-25 13:24:42 +0200 |
|---|---|---|
| committer | Isaac Freund <mail@isaacfreund.com> | 2022-08-25 13:24:42 +0200 |
| commit | c0e64829f0517f6512438cbf80ae27bd21986b47 (patch) | |
| tree | bdf5766450d8c94772423eb5e139256257ce926b | |
| parent | 29ae7ba311ac17cdc7e1a9f7fcb4e76bf2fe3675 (diff) | |
| download | river-c0e64829f0517f6512438cbf80ae27bd21986b47.tar.gz river-c0e64829f0517f6512438cbf80ae27bd21986b47.tar.xz | |
layer-shell: start transaction on map
The fact that this call is missing is a bug, as the changes made by
arranging the output layers as well as changes to the focus will not be
fully applied.
| -rw-r--r-- | river/LayerSurface.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/river/LayerSurface.zig b/river/LayerSurface.zig index 239543c..4231bad 100644 --- a/river/LayerSurface.zig +++ b/river/LayerSurface.zig @@ -102,6 +102,7 @@ fn handleMap(listener: *wl.Listener(*wlr.LayerSurfaceV1), wlr_layer_surface: *wl const node = @fieldParentPtr(std.TailQueue(Self).Node, "data", self); self.output.getLayer(self.layer).append(node); self.output.arrangeLayers(.mapped); + server.root.startTransaction(); } fn handleUnmap(listener: *wl.Listener(*wlr.LayerSurfaceV1), _: *wlr.LayerSurfaceV1) void { |
