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.
This commit is contained in:
parent
29ae7ba311
commit
c0e64829f0
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user