aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/layer_surface.zig3
1 files changed, 3 insertions, 0 deletions
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);