summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2020-04-14 15:04:56 +0200
committerLibravatar Drew DeVault <sir@cmpwn.com>2020-05-01 17:00:14 +0200
commit5e5e5f2ee54b7139fafe6b55efce0c276c6cc39a (patch)
tree14ca0e33d908794b2b08f30e2ee4529d75099414 /include
parentFix invisible cursor on startup (diff)
downloadsway-5e5e5f2ee54b7139fafe6b55efce0c276c6cc39a.tar.gz
sway-5e5e5f2ee54b7139fafe6b55efce0c276c6cc39a.tar.zst
sway-5e5e5f2ee54b7139fafe6b55efce0c276c6cc39a.zip
Add a secondary headless backend
This allows the create_output command to work on DRM too.
Diffstat (limited to 'include')
-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 {
29 29
30 struct wlr_backend *backend; 30 struct wlr_backend *backend;
31 struct wlr_backend *noop_backend; 31 struct wlr_backend *noop_backend;
32 // secondary headless backend used for creating virtual outputs on-the-fly
33 struct wlr_backend *headless_backend;
32 34
33 struct wlr_compositor *compositor; 35 struct wlr_compositor *compositor;
34 struct wl_listener compositor_new_surface; 36 struct wl_listener compositor_new_surface;