Skip to content

Commit

Permalink
Add note about wlroots change
Browse files Browse the repository at this point in the history
  • Loading branch information
ifreund committed May 2, 2020
1 parent ed98e8f commit ca70339
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/layer_surface.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ca70339

Please sign in to comment.