aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/view.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index a2dbe92c..ae520b07 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -1070,8 +1070,10 @@ void view_set_urgent(struct sway_view *view, bool enable) {
}
container_damage_whole(view->swayc);
+ ipc_event_window(view->swayc, "urgent");
+
struct sway_container *ws = container_parent(view->swayc, C_WORKSPACE);
- ipc_event_workspace(ws, NULL, "urgent");
+ ipc_event_workspace(NULL, ws, "urgent");
}
bool view_is_urgent(struct sway_view *view) {