aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-04-14 15:04:56 +0200
committerDrew DeVault <sir@cmpwn.com>2020-05-01 17:00:14 +0200
commit5e5e5f2ee54b7139fafe6b55efce0c276c6cc39a (patch)
tree14ca0e33d908794b2b08f30e2ee4529d75099414 /include/sway
parent6021fc4a08c9a870e2821b907e056f336c39a99a (diff)
downloadsway-5e5e5f2ee54b7139fafe6b55efce0c276c6cc39a.tar.xz
Add a secondary headless backend
This allows the create_output command to work on DRM too.
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index a9ffe187..3c972bc5 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -29,6 +29,8 @@ struct sway_server {
struct wlr_backend *backend;
struct wlr_backend *noop_backend;
+ // secondary headless backend used for creating virtual outputs on-the-fly
+ struct wlr_backend *headless_backend;
struct wlr_compositor *compositor;
struct wl_listener compositor_new_surface;