aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-05-02 18:57:15 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-05-02 18:57:15 +0200
commitca703392d1053665505f0253caf247437c63d24f (patch)
tree494594c3233335580ba163134a1db63a8d413ccd
parented98e8fe1aae139208b66db2764000a8e1e9f173 (diff)
downloadriver-ca703392d1053665505f0253caf247437c63d24f.tar.gz
river-ca703392d1053665505f0253caf247437c63d24f.tar.xz
Add note about wlroots change
-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);