aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-08-26 14:50:16 +1200
committerScott Anderson <ascent12@hotmail.com>2017-08-26 14:50:16 +1200
commitd16b2977f6b156e5b3a4ceb028cfbe70b9a350c1 (patch)
treefe4436815369d2acfd308b5d7cfda2776d1b3e60 /include
parentfb93628bda0cb7750628e227213a1ddc2ae34be9 (diff)
Remove single GPU assumptions from wlr_session
Diffstat (limited to 'include')
-rw-r--r--include/wlr/backend/session.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/wlr/backend/session.h b/include/wlr/backend/session.h
index fbdc97fc..04e701b0 100644
--- a/include/wlr/backend/session.h
+++ b/include/wlr/backend/session.h
@@ -8,6 +8,14 @@
struct session_impl;
+struct wlr_device {
+ int fd;
+ dev_t dev;
+ struct wl_signal signal;
+
+ struct wl_list link;
+};
+
struct wlr_session {
const struct session_impl *impl;
/*
@@ -17,7 +25,6 @@ struct wlr_session {
struct wl_signal session_signal;
bool active;
- int drm_fd;
unsigned vtnr;
char seat[8];