diff options
author | emersion <contact@emersion.fr> | 2018-10-23 23:38:57 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-10-23 23:38:57 +0200 |
commit | a654ac1bd626e13917568acaebb6ecdb04c77596 (patch) | |
tree | 87d9e727e76d7eea9f74ba609f73cf7aa82b9c2f /sway/tree/output.c | |
parent | Merge pull request #2942 from ianyfan/swaybar (diff) | |
download | sway-a654ac1bd626e13917568acaebb6ecdb04c77596.tar.gz sway-a654ac1bd626e13917568acaebb6ecdb04c77596.tar.zst sway-a654ac1bd626e13917568acaebb6ecdb04c77596.zip |
Implement the presentation-time protocol
Diffstat (limited to 'sway/tree/output.c')
-rw-r--r-- | sway/tree/output.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c index 04219b5f..e5794b8a 100644 --- a/sway/tree/output.c +++ b/sway/tree/output.c | |||
@@ -103,6 +103,7 @@ void output_enable(struct sway_output *output, struct output_config *oc) { | |||
103 | wl_signal_add(&wlr_output->events.mode, &output->mode); | 103 | wl_signal_add(&wlr_output->events.mode, &output->mode); |
104 | wl_signal_add(&wlr_output->events.transform, &output->transform); | 104 | wl_signal_add(&wlr_output->events.transform, &output->transform); |
105 | wl_signal_add(&wlr_output->events.scale, &output->scale); | 105 | wl_signal_add(&wlr_output->events.scale, &output->scale); |
106 | wl_signal_add(&wlr_output->events.present, &output->present); | ||
106 | wl_signal_add(&output->damage->events.frame, &output->damage_frame); | 107 | wl_signal_add(&output->damage->events.frame, &output->damage_frame); |
107 | wl_signal_add(&output->damage->events.destroy, &output->damage_destroy); | 108 | wl_signal_add(&output->damage->events.destroy, &output->damage_destroy); |
108 | 109 | ||
@@ -214,6 +215,7 @@ void output_disable(struct sway_output *output) { | |||
214 | wl_list_remove(&output->mode.link); | 215 | wl_list_remove(&output->mode.link); |
215 | wl_list_remove(&output->transform.link); | 216 | wl_list_remove(&output->transform.link); |
216 | wl_list_remove(&output->scale.link); | 217 | wl_list_remove(&output->scale.link); |
218 | wl_list_remove(&output->present.link); | ||
217 | wl_list_remove(&output->damage_destroy.link); | 219 | wl_list_remove(&output->damage_destroy.link); |
218 | wl_list_remove(&output->damage_frame.link); | 220 | wl_list_remove(&output->damage_frame.link); |
219 | 221 | ||