aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-06-06 15:07:19 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-06-06 15:07:19 +0200
commitb8cc4cc22c6552a485519cc2468b2b1892aa3ffd (patch)
tree15d52f12d3447314f83372919232c25cdc84b59c
parente48cf8eab6f2f6c99db94708b38020e87e9ae117 (diff)
downloadriver-b8cc4cc22c6552a485519cc2468b2b1892aa3ffd.tar.gz
river-b8cc4cc22c6552a485519cc2468b2b1892aa3ffd.tar.xz
river-status: send view_tags on view output change
-rw-r--r--river/View.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/river/View.zig b/river/View.zig
index b67b902..af5d9b9 100644
--- a/river/View.zig
+++ b/river/View.zig
@@ -190,6 +190,9 @@ pub fn sendToOutput(self: *Self, destination_output: *Output) void {
self.output.views.remove(node);
destination_output.views.push(node);
+ self.output.sendViewTags();
+ destination_output.sendViewTags();
+
c.wlr_surface_send_leave(self.wlr_surface, self.output.wlr_output);
c.wlr_surface_send_enter(self.wlr_surface, destination_output.wlr_output);