diff options
author | emersion <contact@emersion.fr> | 2018-10-02 12:11:09 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-10-04 22:00:24 +0200 |
commit | eac7c2ad2faf49084342d9f805cf06b773723fdd (patch) | |
tree | 6fbd71fd0fe6f06183a7ee94b03727f69341328b /rootston | |
parent | abd3e995ab446b5487f4d2ff16d9e2c3f1baade1 (diff) |
output: add presentation refresh prediction
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/output.c b/rootston/output.c index 8168a0c3..9d376f8e 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -855,7 +855,7 @@ static void output_handle_present(struct wl_listener *listener, void *data) { .output = output->wlr_output, .tv_sec = (uint64_t)output_event->when->tv_sec, .tv_nsec = (uint32_t)output_event->when->tv_nsec, - .refresh = 0, // TODO: predict next output vsync delay + .refresh = (uint32_t)output_event->refresh, .seq = (uint64_t)output_event->seq, .flags = output_event->flags, }; |