sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 97b171649dd0f387ecd471dc75feda6307e7dbe3
parent 035a88e0dc325e8225478632b3d4b02a72fcf29a
Author: Tony Crisci <tony@dubstepdish.com>
Date:   Tue,  3 Apr 2018 19:36:57 -0400

move output damage to workspace destructor

Diffstat:
Msway/input/seat.c | 1-
Msway/tree/container.c | 3+++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sway/input/seat.c b/sway/input/seat.c @@ -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); } } diff --git a/sway/tree/container.c b/sway/tree/container.c @@ -182,6 +182,9 @@ static struct sway_container *container_workspace_destroy( } _container_destroy(workspace); + + output_damage_whole(output->sway_output); + return parent; }