mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-21 06:46:46 -04:00
backend/session/dev_udev.c, backend/libinput/backend.c: decouple udev from include/wlr/backend/session/session.h
This commit is contained in:
parent
e706875432
commit
68652158b7
3 changed files with 34 additions and 24 deletions
|
|
@ -1,12 +1,12 @@
|
|||
#ifndef WLR_BACKEND_SESSION_H
|
||||
#define WLR_BACKEND_SESSION_H
|
||||
|
||||
#include <libudev.h>
|
||||
#include <stdbool.h>
|
||||
#include <sys/types.h>
|
||||
#include <wayland-server-core.h>
|
||||
|
||||
struct libseat;
|
||||
struct dev;
|
||||
|
||||
struct wlr_device {
|
||||
int fd;
|
||||
|
|
@ -34,9 +34,7 @@ struct wlr_session {
|
|||
unsigned vtnr;
|
||||
char seat[256];
|
||||
|
||||
struct udev *udev;
|
||||
struct udev_monitor *mon;
|
||||
struct wl_event_source *udev_event;
|
||||
struct dev *dev;
|
||||
|
||||
struct libseat *seat_handle;
|
||||
struct wl_event_source *libseat_event;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue