aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index af965857..ca993c41 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -262,8 +262,6 @@ static struct sway_container *container_output_destroy(
262 wl_list_remove(&output->sway_output->damage_destroy.link); 262 wl_list_remove(&output->sway_output->damage_destroy.link);
263 wl_list_remove(&output->sway_output->damage_frame.link); 263 wl_list_remove(&output->sway_output->damage_frame.link);
264 264
265 // clear the wlr_output reference to this container
266 output->sway_output->wlr_output->data = NULL;
267 output->sway_output->swayc = NULL; 265 output->sway_output->swayc = NULL;
268 266
269 wlr_log(L_DEBUG, "OUTPUT: Destroying output '%s'", output->name); 267 wlr_log(L_DEBUG, "OUTPUT: Destroying output '%s'", output->name);