diff --git a/sway/tree/container.c b/sway/tree/container.c index c9ec852fc..4730a897d 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c @@ -137,10 +137,10 @@ struct sway_container *container_create(struct sway_view *view) { if (!failed) { c->output_enter.notify = handle_output_enter; - wl_signal_add(&c->output_handler->events.output_enter, + wl_signal_add(&c->output_handler->events.outputs_update, &c->output_enter); c->output_leave.notify = handle_output_leave; - wl_signal_add(&c->output_handler->events.output_leave, + wl_signal_add(&c->output_handler->events.outputs_update, &c->output_leave); c->output_handler_destroy.notify = handle_destroy; wl_signal_add(&c->output_handler->node.events.destroy,