diff options
author | Peter Åstrand (astrand) <astrand@cendio.se> | 2018-05-08 13:54:22 +0200 |
---|---|---|
committer | Peter Åstrand (astrand) <astrand@cendio.se> | 2018-05-08 13:54:22 +0200 |
commit | 86e4eb66d1001fb12d5b12e21c201ba4e0801f1b (patch) | |
tree | 3b8f8f645f2b813c37faecb814cacda4b140d61a | |
parent | e58fcb99b0b545767de51b57ef3f1bb4293b79f9 (diff) | |
download | tigervnc-86e4eb66d1001fb12d5b12e21c201ba4e0801f1b.tar.gz tigervnc-86e4eb66d1001fb12d5b12e21c201ba4e0801f1b.zip |
x0vncserver: Make sure rotation for new outputs is set to RR_Rotate_0
The Xserver (at least Xorg 1.19) rejects RRSetCrtcConfig requests if
rotation is zero.
-rw-r--r-- | unix/x0vncserver/RandrGlue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/x0vncserver/RandrGlue.c b/unix/x0vncserver/RandrGlue.c index 2e477630..ff12902f 100644 --- a/unix/x0vncserver/RandrGlue.c +++ b/unix/x0vncserver/RandrGlue.c @@ -468,6 +468,7 @@ int vncRandRReconfigureOutput(int outputIdx, int x, int y, } crtcid = output->crtcs[i]; + crtc->rotation = RR_Rotate_0; break; } } else { |