Merge pull request #807 from swaywm/input-inhibit

Input inhibit
This commit is contained in:
Drew DeVault 2018-04-03 15:58:47 -04:00 committed by GitHub
commit 2ecce27dd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 533 additions and 15 deletions

View file

@ -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);
}

View file

@ -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);
}