aboutsummaryrefslogtreecommitdiff
path: root/backend/backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/backend.c')
-rw-r--r--backend/backend.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/backend.c b/backend/backend.c
index d5cd1f70..ed21fa1f 100644
--- a/backend/backend.c
+++ b/backend/backend.c
@@ -136,3 +136,7 @@ error_session:
wlr_session_destroy(session);
return NULL;
}
+
+uint32_t usec_to_msec(uint64_t usec) {
+ return (uint32_t)(usec / 1000);
+}