aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Simon Zeni <simon@bl4ckb0ne.ca>2021-10-04 10:04:46 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2021-11-25 17:48:34 +0100
commit0cd8efe0bb669e71e9cdc30d96ae466cb583e605 (patch)
tree0cc1cdf1d76347b92376fcf9087792e1b2f69a49 /include
parentReplace wlr_headless_backend_create_with_renderer call (diff)
downloadsway-0cd8efe0bb669e71e9cdc30d96ae466cb583e605.tar.gz
sway-0cd8efe0bb669e71e9cdc30d96ae466cb583e605.tar.zst
sway-0cd8efe0bb669e71e9cdc30d96ae466cb583e605.zip
sway: replace noop_output by fallback_output
wlroots removed the support for the noop backend. Instead we rely on the headless backend to provide the fallback output.
Diffstat (limited to 'include')
-rw-r--r--include/sway/server.h1
-rw-r--r--include/sway/tree/root.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index 109097d7..7ac2af26 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -33,7 +33,6 @@ struct sway_server {
33 const char *socket; 33 const char *socket;
34 34
35 struct wlr_backend *backend; 35 struct wlr_backend *backend;
36 struct wlr_backend *noop_backend;
37 // secondary headless backend used for creating virtual outputs on-the-fly 36 // secondary headless backend used for creating virtual outputs on-the-fly
38 struct wlr_backend *headless_backend; 37 struct wlr_backend *headless_backend;
39 struct wlr_renderer *renderer; 38 struct wlr_renderer *renderer;
diff --git a/include/sway/tree/root.h b/include/sway/tree/root.h
index e8f4d573..5d4a2f2d 100644
--- a/include/sway/tree/root.h
+++ b/include/sway/tree/root.h
@@ -31,7 +31,7 @@ struct sway_root {
31 list_t *scratchpad; // struct sway_container 31 list_t *scratchpad; // struct sway_container
32 32
33 // For when there's no connected outputs 33 // For when there's no connected outputs
34 struct sway_output *noop_output; 34 struct sway_output *fallback_output;
35 35
36 struct sway_container *fullscreen_global; 36 struct sway_container *fullscreen_global;
37 37