diff options
author | marha <marha@users.sourceforge.net> | 2011-05-29 15:02:10 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-05-29 15:02:10 +0200 |
commit | 1ccf18dc09e288ddf937aa890b50c8d0a9df4319 (patch) | |
tree | a08f093a56109dd213582d26534b7ead87e86695 /xorg-server/randr | |
parent | 741ef6e15af761d44ca0d8d54f6b99c33dd1b6bd (diff) | |
download | vcxsrv-1ccf18dc09e288ddf937aa890b50c8d0a9df4319.tar.gz vcxsrv-1ccf18dc09e288ddf937aa890b50c8d0a9df4319.tar.bz2 vcxsrv-1ccf18dc09e288ddf937aa890b50c8d0a9df4319.zip |
libX11 mesa mkfontscale pixman xserver git update 29 Mar 2011
Diffstat (limited to 'xorg-server/randr')
-rw-r--r-- | xorg-server/randr/rrscreen.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xorg-server/randr/rrscreen.c b/xorg-server/randr/rrscreen.c index 1bc1a9ea1..da6d48d6e 100644 --- a/xorg-server/randr/rrscreen.c +++ b/xorg-server/randr/rrscreen.c @@ -910,12 +910,6 @@ ProcRRSetScreenConfig (ClientPtr client) */ width = mode->mode.width; height = mode->mode.height; - if (rotation & (RR_Rotate_90|RR_Rotate_270)) - { - width = mode->mode.height; - height = mode->mode.width; - } - if (width < pScrPriv->minWidth || pScrPriv->maxWidth < width) { client->errorValue = width; free(pData); @@ -927,6 +921,12 @@ ProcRRSetScreenConfig (ClientPtr client) return BadValue; } + if (rotation & (RR_Rotate_90|RR_Rotate_270)) + { + width = mode->mode.height; + height = mode->mode.width; + } + if (width != pScreen->width || height != pScreen->height) { int c; |