summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qxl_driver.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index 9039e50..42bcc13 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -40,6 +40,7 @@
#include <stdlib.h>
#include <xf86Crtc.h>
+#include <xf86RandR12.h>
#include "mspace.h"
@@ -1555,6 +1556,11 @@ qxl_screen_init(SCREEN_INIT_ARGS_DECL)
return FALSE;
CHECK_POINT();
+ /* fake transform support, to allow agent to switch crtc mode */
+ /* without X doing checks, see rrcrtc.c "Check screen size */
+ /* bounds" */
+ xf86RandR12SetTransformSupport(pScreen, TRUE);
+
return TRUE;
out: