aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-01 10:21:02 -0400
committerGitHub <noreply@github.com>2017-11-01 10:21:02 -0400
commit0d9d670dbdb62ebf78346119b588a9043d876f7e (patch)
tree7df3d5a2d36ad99d139b9797fb94d2996b04f62f /rootston
parentb2ff9f13b7be6830c42f61ac4a8cd59079da9723 (diff)
parenta15b35aa105048fa01ac76eefcf0919cad29df20 (diff)
Merge pull request #365 from emersion/wayland-backend-transform
Cursors ✕ Output Transformations fixes
Diffstat (limited to 'rootston')
-rw-r--r--rootston/config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rootston/config.c b/rootston/config.c
index 18138ab0..dc7a4b1d 100644
--- a/rootston/config.c
+++ b/rootston/config.c
@@ -228,7 +228,9 @@ static int config_ini_handler(void *user, const char *section, const char *name,
} else if (strcmp(name, "y") == 0) {
oc->y = strtol(value, NULL, 10);
} 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;