aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/session.h')
-rw-r--r--include/wlr/session.h7
1 files changed, 7 insertions, 0 deletions
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;