mirror of
https://github.com/swaywm/sway.git
synced 2025-11-24 06:59:51 -05: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
|
|
@ -375,7 +375,7 @@ static const uint32_t *bit_depth_preferences[] = {
|
|||
|
||||
static void queue_output_config(struct output_config *oc,
|
||||
struct sway_output *output) {
|
||||
if (output == root->noop_output) {
|
||||
if (output == root->fallback_output) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -478,7 +478,7 @@ static void queue_output_config(struct output_config *oc,
|
|||
}
|
||||
|
||||
bool apply_output_config(struct output_config *oc, struct sway_output *output) {
|
||||
if (output == root->noop_output) {
|
||||
if (output == root->fallback_output) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -573,7 +573,7 @@ bool apply_output_config(struct output_config *oc, struct sway_output *output) {
|
|||
}
|
||||
|
||||
bool test_output_config(struct output_config *oc, struct sway_output *output) {
|
||||
if (output == root->noop_output) {
|
||||
if (output == root->fallback_output) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue