summaryrefslogtreecommitdiffstats
path: root/x11vnc/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/user.c')
-rw-r--r--x11vnc/user.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11vnc/user.c b/x11vnc/user.c
index 734d85b..d41faa7 100644
--- a/x11vnc/user.c
+++ b/x11vnc/user.c
@@ -1041,6 +1041,7 @@ void user_supplied_opts(char *opts) {
"scale", "scale_cursor", "sc", "solid", "so", "id",
"clear_mods", "cm", "clear_keys", "ck", "repeat",
"speeds", "sp", "readtimeout", "rd",
+ "rotate", "ro",
NULL
};
@@ -1089,6 +1090,11 @@ void user_supplied_opts(char *opts) {
if (scale_cursor_str) free(scale_cursor_str);
q = strchr(p, '=') + 1;
scale_cursor_str = strdup(q);
+ } else if (strstr(p, "rotate=") == p ||
+ strstr(p, "ro=") == p) {
+ if (rotating_str) free(rotating_str);
+ q = strchr(p, '=') + 1;
+ rotating_str = strdup(q);
} else if (!strcmp(p, "solid") || !strcmp(p, "so")) {
use_solid_bg = 1;
if (!solid_str) {