aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-01 14:25:41 +0100
committeremersion <contact@emersion.fr>2017-11-01 14:25:41 +0100
commit60c018c01760bef047d156a60e9ab32799a26f14 (patch)
tree98501df536d8bc6652beca3a7ffdd35c3667a041 /rootston
parent510ce27fb75f53cd83d23e660cd45031cf2b937a (diff)
Fix hidden software cursors, fix cursor transformations on DRM backend
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 b3fd4f01..d72c1284 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;