aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/backend/drm/backend.h1
-rw-r--r--include/wlr/session.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/include/backend/drm/backend.h b/include/backend/drm/backend.h
index 4df86e21..e603bccd 100644
--- a/include/backend/drm/backend.h
+++ b/include/backend/drm/backend.h
@@ -19,6 +19,7 @@
struct wlr_backend_state {
int fd;
+ dev_t dev;
struct wlr_backend *backend;
struct wl_event_source *drm_event;
diff --git a/include/wlr/session.h b/include/wlr/session.h
index 4dfb026c..5f210f10 100644
--- a/include/wlr/session.h
+++ b/include/wlr/session.h
@@ -2,9 +2,16 @@
#define WLR_SESSION_H
#include <wayland-server.h>
+#include <sys/types.h>
struct session_interface;
+// Passed to the listeners of device_paused/resumed
+struct device_arg {
+ dev_t dev;
+ int fd; // Only for device_resumed
+};
+
struct wlr_session {
const struct session_interface *iface;