diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-05-14 13:07:34 +1200 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-05-14 13:07:34 +1200 |
commit | f9d363fece0046cabfa00ad6b72b50f45b70db60 (patch) | |
tree | 5387efd85f29f1acdb8908cf3a479192c50846db /include/wlr | |
parent | 7efdd3c9fc38de377a43bb368cf113524b5a73d7 (diff) |
Added device matching
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/session.h | 7 |
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; |