mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Use noop output when there's no outputs connected
Instead of having NULL workspace->output pointers, use a noop output. This should be safer.
This commit is contained in:
parent
ab0248a545
commit
2301349ad5
8 changed files with 29 additions and 28 deletions
|
|
@ -24,6 +24,7 @@ struct sway_server {
|
|||
const char *socket;
|
||||
|
||||
struct wlr_backend *backend;
|
||||
struct wlr_backend *noop_backend;
|
||||
|
||||
struct wlr_compositor *compositor;
|
||||
struct wlr_data_device_manager *data_device_manager;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue