aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-25 15:31:47 +0200
committerGitHub <noreply@github.com>2018-10-25 15:31:47 +0200
commitea2497d35cc1a7357d69b8e09ce0104c82a7be39 (patch)
treee3f26e6347f9cdc96b551b3a8157ec54aa7aefed /sway/tree
parentb1c49038a6812d7df914dbb873b93a8fe19c7889 (diff)
parenta654ac1bd626e13917568acaebb6ecdb04c77596 (diff)
downloadsway-ea2497d35cc1a7357d69b8e09ce0104c82a7be39.tar.xz
Merge pull request #2950 from emersion/presentation-time
Implement the presentation-time protocol
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/output.c2
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) {
wl_signal_add(&wlr_output->events.mode, &output->mode);
wl_signal_add(&wlr_output->events.transform, &output->transform);
wl_signal_add(&wlr_output->events.scale, &output->scale);
+ wl_signal_add(&wlr_output->events.present, &output->present);
wl_signal_add(&output->damage->events.frame, &output->damage_frame);
wl_signal_add(&output->damage->events.destroy, &output->damage_destroy);
@@ -214,6 +215,7 @@ void output_disable(struct sway_output *output) {
wl_list_remove(&output->mode.link);
wl_list_remove(&output->transform.link);
wl_list_remove(&output->scale.link);
+ wl_list_remove(&output->present.link);
wl_list_remove(&output->damage_destroy.link);
wl_list_remove(&output->damage_frame.link);