mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 01:41:30 +00:00
Minor fix
This commit is contained in:
parent
3f1bb40769
commit
7a21388997
|
@ -376,7 +376,7 @@ static bool cmd_output(struct sway_config *config, int argc, char **argv) {
|
|||
|
||||
// TODO: atoi doesn't handle invalid numbers
|
||||
|
||||
if (strcmp(argv[1], "disable") == 0) {
|
||||
if (strcasecmp(argv[1], "disable") == 0) {
|
||||
output->enabled = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue