summaryrefslogtreecommitdiff
path: root/src/vmwarectrl.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2011-02-16 17:29:47 +0100
committerThomas Hellstrom <thellstrom@vmware.com>2011-02-16 19:50:24 +0100
commitb3c244ebd7899a66aa401d2d7b0ddc66ee56e6d7 (patch)
treed3f028cdded69e8dc33b85ff6b91c375b384d4c6 /src/vmwarectrl.c
parenteacfa46ada8562bfb15d3fc6a8af272d88036d2f (diff)
vmwlegacy: Don't attempt to call RRSendConfigNotify on Xservers < 1.2
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Alan Hourihane <alanh@vmware.com> Reviewed-by: Michel Dänzer <daenzer@vmware.com>
Diffstat (limited to 'src/vmwarectrl.c')
-rw-r--r--src/vmwarectrl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vmwarectrl.c b/src/vmwarectrl.c
index 723c356..d021eb7 100644
--- a/src/vmwarectrl.c
+++ b/src/vmwarectrl.c
@@ -312,7 +312,9 @@ VMwareCtrlDoSetTopology(ScrnInfoPtr pScrn,
*/
vmwareNextXineramaState(pVMWARE);
+#ifdef HAVE_XORG_SERVER_1_2_0
RRSendConfigNotify(pScrn->pScreen);
+#endif
vmwareSendSVGACmdUpdateFullScreen(pVMWARE);
return TRUE;