mirror of
https://github.com/swaywm/sway.git
synced 2024-12-27 15:36:29 +01:00
Remove assumption that noop output will be called NOOP-1
This commit is contained in:
parent
7f8ea60e71
commit
42f8a038c9
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ struct cmd_results *cmd_output(int argc, char **argv) {
|
|||
|
||||
// The NOOP-1 output is a dummy output used when there's no outputs
|
||||
// connected. It should never be configured.
|
||||
if (strcasecmp(argv[0], "NOOP-1") == 0) {
|
||||
if (strcasecmp(argv[0], root->noop_output->wlr_output->name) == 0) {
|
||||
return cmd_results_new(CMD_FAILURE,
|
||||
"Refusing to configure the no op output");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue