[PATCH xserver 1/3] Xvfb: set rotations ret value
Paolo Borelli
paolo.borelli at gmail.com
Sun Sep 18 16:02:25 UTC 2016
Even if vfbRRGetInfo is a no-op, it is better to set the
"rotations" return value.
Signed-off-by: Paolo Borelli <pborelli at gnome.org>
---
hw/vfb/InitOutput.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/vfb/InitOutput.c b/hw/vfb/InitOutput.c
index d7bfd70..ee0a154 100644
--- a/hw/vfb/InitOutput.c
+++ b/hw/vfb/InitOutput.c
@@ -795,6 +795,8 @@ vfbRRCrtcSet(ScreenPtr pScreen,
static Bool
vfbRRGetInfo(ScreenPtr pScreen, Rotation *rotations)
{
+ *rotations = 0;
+
return TRUE;
}
--
2.7.4
More information about the xorg-devel
mailing list