mirror of
https://github.com/swaywm/sway.git
synced 2025-11-15 06:59:50 -05:00
move output damage to workspace destructor
This commit is contained in:
parent
035a88e0dc
commit
97b171649d
2 changed files with 3 additions and 1 deletions
|
|
@ -381,7 +381,6 @@ void seat_set_focus_warp(struct sway_seat *seat,
|
|||
if (last_ws) {
|
||||
ipc_event_workspace(last_ws, container, "focus");
|
||||
if (last_ws->children->length == 0) {
|
||||
output_damage_whole(last_ws->parent->sway_output);
|
||||
container_destroy(last_ws);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue