Replace refresh_rate and position by mode in output command

This commit is contained in:
emersion 2017-12-14 00:45:47 +01:00
parent ec2fd6e5c0
commit 4d389f8b65
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 56 additions and 33 deletions

View file

@ -20,7 +20,7 @@ struct output_config *new_output_config() {
return NULL;
}
oc->enabled = -1;
oc->width = oc->height -1;
oc->width = oc->height = -1;
oc->refresh_rate = -1;
oc->x = oc->y = -1;
oc->scale = -1;