Add note about wlroots change

This commit is contained in:
Isaac Freund 2020-05-02 18:57:15 +02:00
parent ed98e8fe1a
commit ca703392d1
No known key found for this signature in database
GPG key ID: 86DED400DDFD7A11

View file

@ -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 // 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 // bool to true so that we can avoid making the arrange function even
// more complex. // more complex.
//
// TODO(wlroots): Remove this check on updating
// https://github.com/swaywm/wlroots/commit/11e94c406bb75c9a8990ce99489798411deb110c
if (self.wlr_layer_surface.mapped) { if (self.wlr_layer_surface.mapped) {
// remove listeners only active while the layer surface is mapped // remove listeners only active while the layer surface is mapped
c.wl_list_remove(&self.listen_commit.link); c.wl_list_remove(&self.listen_commit.link);