diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-04-03 19:36:57 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-03 19:36:57 -0400 |
commit | 97b171649dd0f387ecd471dc75feda6307e7dbe3 (patch) | |
tree | 865f68e0ac25b00b1b004b55df9e95fc349bff5b /sway/input | |
parent | rename container_finish to _container_destroy (diff) | |
download | sway-97b171649dd0f387ecd471dc75feda6307e7dbe3.tar.gz sway-97b171649dd0f387ecd471dc75feda6307e7dbe3.tar.zst sway-97b171649dd0f387ecd471dc75feda6307e7dbe3.zip |
move output damage to workspace destructor
Diffstat (limited to 'sway/input')
-rw-r--r-- | sway/input/seat.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index d752acb8..c326f176 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -381,7 +381,6 @@ void seat_set_focus_warp(struct sway_seat *seat, | |||
381 | if (last_ws) { | 381 | if (last_ws) { |
382 | ipc_event_workspace(last_ws, container, "focus"); | 382 | ipc_event_workspace(last_ws, container, "focus"); |
383 | if (last_ws->children->length == 0) { | 383 | if (last_ws->children->length == 0) { |
384 | output_damage_whole(last_ws->parent->sway_output); | ||
385 | container_destroy(last_ws); | 384 | container_destroy(last_ws); |
386 | } | 385 | } |
387 | } | 386 | } |