mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-24 06:59:45 -05:00
Merge remote-tracking branch 'origin/master' into hidpi
This commit is contained in:
commit
86b8729998
48 changed files with 499 additions and 198 deletions
|
|
@ -232,7 +232,9 @@ static int config_ini_handler(void *user, const char *section, const char *name,
|
|||
oc->scale = strtol(value, NULL, 10);
|
||||
assert(oc->scale >= 1);
|
||||
} else if (strcmp(name, "rotate") == 0) {
|
||||
if (strcmp(value, "90") == 0) {
|
||||
if (strcmp(value, "normal") == 0) {
|
||||
oc->transform = WL_OUTPUT_TRANSFORM_NORMAL;
|
||||
} else if (strcmp(value, "90") == 0) {
|
||||
oc->transform = WL_OUTPUT_TRANSFORM_90;
|
||||
} else if (strcmp(value, "180") == 0) {
|
||||
oc->transform = WL_OUTPUT_TRANSFORM_180;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue