aboutsummaryrefslogtreecommitdiff
path: root/backend/backend.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-10-01 22:57:36 +0200
committeremersion <contact@emersion.fr>2018-10-04 22:00:22 +0200
commitb0635bf3e7f0de7c641ffafb0e8962d62ee88c73 (patch)
tree4729687de85fff3e855c1958c09a03f10ab54831 /backend/backend.c
parentabddfc99f2a0fb4f61292e3ac1c0b142effa28c2 (diff)
Rename get_present_clock to get_presentation clock, use it
Diffstat (limited to 'backend/backend.c')
-rw-r--r--backend/backend.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/backend.c b/backend/backend.c
index b8cf8797..4b186767 100644
--- a/backend/backend.c
+++ b/backend/backend.c
@@ -64,9 +64,9 @@ struct wlr_session *wlr_backend_get_session(struct wlr_backend *backend) {
return NULL;
}
-clockid_t wlr_backend_get_present_clock(struct wlr_backend *backend) {
- if (backend->impl->get_present_clock) {
- return backend->impl->get_present_clock(backend);
+clockid_t wlr_backend_get_presentation_clock(struct wlr_backend *backend) {
+ if (backend->impl->get_presentation_clock) {
+ return backend->impl->get_presentation_clock(backend);
}
return CLOCK_MONOTONIC;
}