aboutsummaryrefslogtreecommitdiff
path: root/rootston/config.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-02 23:34:02 -0400
committerDrew DeVault <sir@cmpwn.com>2017-11-02 23:34:02 -0400
commit86b87299986a430a52b4eac3f2e0e7b659176c90 (patch)
treeac8523d64c6b2faa8d7156093c8dc8f6998301b7 /rootston/config.c
parent975b9dc365d5a7bec531522320a1506323575525 (diff)
parentec11a95d0c945d138cede66b7c6e53e343c82f8f (diff)
Merge remote-tracking branch 'origin/master' into hidpi
Diffstat (limited to 'rootston/config.c')
-rw-r--r--rootston/config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rootston/config.c b/rootston/config.c
index 983117ba..ff02ff1d 100644
--- a/rootston/config.c
+++ b/rootston/config.c
@@ -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;