mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Added device matching
This commit is contained in:
parent
7efdd3c9fc
commit
f9d363fece
4 changed files with 39 additions and 8 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue