From f3011841aadfc4f2f0cda937904dfc34615dda13 Mon Sep 17 00:00:00 2001 From: Scott Leggett Date: Sun, 31 May 2026 13:16:52 +0800 Subject: [PATCH] input/seat: dirty node after unfocus Dirty the node that has been unfocused during layer focus so that the focus change is reflected in the window decorations. --- sway/input/seat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/input/seat.c b/sway/input/seat.c index 1f108623d..e64bd5858 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c @@ -1285,6 +1285,7 @@ void seat_set_focus_surface(struct sway_seat *seat, if (seat->has_focus && unfocus) { struct sway_node *focus = seat_get_focus(seat); seat_send_unfocus(focus, seat); + node_set_dirty(focus); seat->has_focus = false; }