aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Palus <jpalus@fastmail.com>2024-10-16 19:47:54 +0200
committerAlexander Orzechowski <alex@ozal.ski>2024-10-16 13:57:32 -0400
commitdb76fefd0c61d2c85f448eeb43ca3a97c10770a5 (patch)
tree425a2759e5a5decba76a42606cdf87c94ff32309
parentdd063a0ef7941404d40578bfbdc8c11c70647baa (diff)
trigger container update after disabling urgent in timer
switching workspace directly to urgent window creates timer which delays reset of urgent state so user is able to notice it. make sure state change is reflected visually as well (border change) by triggering container update Fixes: #8377
-rw-r--r--sway/input/seat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index 9a00a3e2..0dd26290 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -1094,6 +1094,7 @@ static void seat_send_unfocus(struct sway_node *node, struct sway_seat *seat) {
static int handle_urgent_timeout(void *data) {
struct sway_view *view = data;
view_set_urgent(view, false);
+ container_update_itself_and_parents(view->container);
return 0;
}