mirror of
https://github.com/swaywm/sway.git
synced 2026-07-05 00:06:04 -04:00
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.
This commit is contained in:
parent
33ae5a92d5
commit
f3011841aa
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue