git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commit005a4eeea3e6bb76d856b3819ca92b59921bc209
parent95f4c602ca
authorIsaac Freund <[email protected]>
date2020-05-02 18:57
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);