river-status: send view_tags on view map/unmap

This commit is contained in:
Isaac Freund
2020-06-05 00:02:55 +02:00
parent 35ceb08e1e
commit a63fb461ba
3 changed files with 10 additions and 4 deletions

View File

@ -248,6 +248,8 @@ pub fn map(self: *Self) void {
c.wlr_surface_send_enter(self.wlr_surface.?, self.output.wlr_output);
self.output.sendViewTags();
root.arrange();
}
@ -268,6 +270,8 @@ pub fn unmap(self: *Self) void {
const node = @fieldParentPtr(ViewStack(Self).Node, "view", self);
self.output.views.remove(node);
self.output.sendViewTags();
root.arrange();
}