diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-05-02 14:08:34 +1200 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-05-02 14:08:34 +1200 |
commit | 115d4ae637673e348d5542740a158e6dcee0cf80 (patch) | |
tree | 275ba228c0e16c0b7e9478f3b341505439052984 /include/backend/drm/udev.h | |
parent | 562d43a5ecc2f7f4af3ed6924d52f87e3cc018c2 (diff) |
Changed events to use wayland functions.
Diffstat (limited to 'include/backend/drm/udev.h')
-rw-r--r-- | include/backend/drm/udev.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/backend/drm/udev.h b/include/backend/drm/udev.h index 6b10c9ec..576b5d6e 100644 --- a/include/backend/drm/udev.h +++ b/include/backend/drm/udev.h @@ -8,15 +8,14 @@ struct wlr_udev { struct udev *udev; struct udev_monitor *mon; - int mon_fd; char *drm_path; }; -bool wlr_udev_init(struct wlr_udev *udev); +struct wlr_drm_backend; +bool wlr_udev_init(struct wlr_drm_backend *backend); void wlr_udev_free(struct wlr_udev *udev); int wlr_udev_find_gpu(struct wlr_udev *udev, struct wlr_session *session); -struct wlr_drm_backend; void wlr_udev_event(struct wlr_drm_backend *backend); #endif |