mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
Add a secondary headless backend
This allows the create_output command to work on DRM too.
This commit is contained in:
parent
6021fc4a08
commit
5e5e5f2ee5
2 changed files with 10 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue