From ca703392d1053665505f0253caf247437c63d24f Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sat, 2 May 2020 18:57:15 +0200 Subject: [PATCH] Add note about wlroots change --- src/layer_surface.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/layer_surface.zig b/src/layer_surface.zig index c8eeb2c..59857c7 100644 --- a/src/layer_surface.zig +++ b/src/layer_surface.zig @@ -105,6 +105,9 @@ fn handleUnmap(listener: ?*c.wl_listener, data: ?*c_void) callconv(.C) void { // may be closed during the inital configure since we set our mapped // bool to true so that we can avoid making the arrange function even // more complex. + // + // TODO(wlroots): Remove this check on updating + // https://github.com/swaywm/wlroots/commit/11e94c406bb75c9a8990ce99489798411deb110c if (self.wlr_layer_surface.mapped) { // remove listeners only active while the layer surface is mapped c.wl_list_remove(&self.listen_commit.link);