diff options
Diffstat (limited to 'sway/tree/output.c')
-rw-r--r-- | sway/tree/output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c index b30e646e..368f0541 100644 --- a/sway/tree/output.c +++ b/sway/tree/output.c | |||
@@ -147,7 +147,7 @@ void output_enable(struct sway_output *output) { | |||
147 | 147 | ||
148 | input_manager_configure_xcursor(); | 148 | input_manager_configure_xcursor(); |
149 | 149 | ||
150 | wl_signal_emit(&root->events.new_node, &output->node); | 150 | wl_signal_emit_mutable(&root->events.new_node, &output->node); |
151 | 151 | ||
152 | arrange_layers(output); | 152 | arrange_layers(output); |
153 | arrange_root(); | 153 | arrange_root(); |
@@ -263,7 +263,7 @@ void output_disable(struct sway_output *output) { | |||
263 | } | 263 | } |
264 | 264 | ||
265 | sway_log(SWAY_DEBUG, "Disabling output '%s'", output->wlr_output->name); | 265 | sway_log(SWAY_DEBUG, "Disabling output '%s'", output->wlr_output->name); |
266 | wl_signal_emit(&output->events.disable, output); | 266 | wl_signal_emit_mutable(&output->events.disable, output); |
267 | 267 | ||
268 | output_evacuate(output); | 268 | output_evacuate(output); |
269 | 269 | ||
@@ -287,7 +287,7 @@ void output_begin_destroy(struct sway_output *output) { | |||
287 | return; | 287 | return; |
288 | } | 288 | } |
289 | sway_log(SWAY_DEBUG, "Destroying output '%s'", output->wlr_output->name); | 289 | sway_log(SWAY_DEBUG, "Destroying output '%s'", output->wlr_output->name); |
290 | wl_signal_emit(&output->node.events.destroy, &output->node); | 290 | wl_signal_emit_mutable(&output->node.events.destroy, &output->node); |
291 | 291 | ||
292 | output->node.destroying = true; | 292 | output->node.destroying = true; |
293 | node_set_dirty(&output->node); | 293 | node_set_dirty(&output->node); |