wlroots-hyprland/include/backend/udev.h
2017-06-03 15:47:33 +12:00

18 lines
382 B
C

#ifndef _WLR_INTERNAL_UDEV_H
#define _WLR_INTERNAL_UDEV_H
#include <libudev.h>
#include <wlr/session.h>
#include <wayland-server.h>
#include <wlr/backend/udev.h>
struct wlr_udev {
struct udev *udev;
struct udev_monitor *mon;
struct wl_event_source *event;
struct wl_signal invalidate_drm;
};
int wlr_udev_find_gpu(struct wlr_udev *udev, struct wlr_session *session);
#endif