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/event.h | |
parent | 562d43a5ecc2f7f4af3ed6924d52f87e3cc018c2 (diff) |
Changed events to use wayland functions.
Diffstat (limited to 'include/backend/drm/event.h')
-rw-r--r-- | include/backend/drm/event.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/include/backend/drm/event.h b/include/backend/drm/event.h deleted file mode 100644 index 2155bd32..00000000 --- a/include/backend/drm/event.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef EVENT_H -#define EVENT_H - -#include <stdbool.h> -#include "drm.h" - -enum wlr_drm_event_type { - DRM_EV_NONE, - DRM_EV_RENDER, - DRM_EV_DISPLAY_REM, - DRM_EV_DISPLAY_ADD, -}; - -struct wlr_drm_event { - enum wlr_drm_event_type type; - struct wlr_drm_display *display; -}; - -struct wlr_drm_backend; -bool wlr_drm_get_event(struct wlr_drm_backend *backend, - struct wlr_drm_event *restrict ret); -bool wlr_drm_add_event(struct wlr_drm_backend *backend, - struct wlr_drm_display *disp, enum wlr_drm_event_type type); - -#endif |