1
1
mirror of https://github.com/swaywm/sway synced 2024-11-23 00:51:58 +01:00

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
This commit is contained in:
Jan Palus 2024-10-16 19:47:54 +02:00 committed by Alexander Orzechowski
parent dd063a0ef7
commit db76fefd0c

@ -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;
}