diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-03 15:58:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-03 15:58:47 -0400 |
commit | 2ecce27dd55f66121fc2bca425f45e851bf1ec4c (patch) | |
tree | 97ba6de65f200d24bacf49a2eaf7a30572896a84 /backend | |
parent | 1e39c37b3c78ea370e9fd870b63da194fc60d8fc (diff) | |
parent | 56deff41b6c2c6190894068994ba403978068bad (diff) |
Merge pull request #807 from swaywm/input-inhibit
Input inhibit
Diffstat (limited to 'backend')
-rw-r--r-- | backend/backend.c | 4 | ||||
-rw-r--r-- | backend/libinput/backend.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/backend/backend.c b/backend/backend.c index 93d7e0df..23e212b6 100644 --- a/backend/backend.c +++ b/backend/backend.c @@ -182,7 +182,3 @@ struct wlr_backend *wlr_backend_autocreate(struct wl_display *display) { return backend; } - -uint32_t usec_to_msec(uint64_t usec) { - return (uint32_t)(usec / 1000); -} diff --git a/backend/libinput/backend.c b/backend/libinput/backend.c index 1e7c1ad4..ef33df0a 100644 --- a/backend/libinput/backend.c +++ b/backend/libinput/backend.c @@ -191,3 +191,7 @@ struct libinput_device *wlr_libinput_get_device_handle(struct wlr_input_device * struct wlr_libinput_input_device *dev = (struct wlr_libinput_input_device *)_dev; return dev->handle; } + +uint32_t usec_to_msec(uint64_t usec) { + return (uint32_t)(usec / 1000); +} |