mirror of
https://github.com/swaywm/sway.git
synced 2026-04-18 06:46:56 -04:00
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.
This commit is contained in:
parent
729e18bff5
commit
0cd8efe0bb
11 changed files with 28 additions and 26 deletions
|
|
@ -50,8 +50,8 @@ struct sway_output *workspace_get_initial_output(const char *name) {
|
|||
} else if (focus && focus->type == N_CONTAINER) {
|
||||
return focus->sway_container->pending.workspace->output;
|
||||
}
|
||||
// Fallback to the first output or noop output for headless
|
||||
return root->outputs->length ? root->outputs->items[0] : root->noop_output;
|
||||
// Fallback to the first output or the headless output
|
||||
return root->outputs->length ? root->outputs->items[0] : root->fallback_output;
|
||||
}
|
||||
|
||||
struct sway_workspace *workspace_create(struct sway_output *output,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue