aboutsummaryrefslogtreecommitdiff
path: root/backend/backend.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-10-30 15:43:06 -0400
committerTony Crisci <tony@dubstepdish.com>2017-10-30 15:43:06 -0400
commit875a5b446fcf04314ee102624bda7ae18939837e (patch)
tree4030c2bce3f8fbeeed9cff560f5290d41ea3d2a7 /backend/backend.c
parenta224e74fadd6393e25ec7392115892aec87dc11a (diff)
remove time usec
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);
+}