From 1ce03d2e2c9d4ab0b878564c474e025e48d6730d Mon Sep 17 00:00:00 2001
From: Christian Hesse <mail@eworm.de>
Date: Mon, 8 Jun 2015 15:04:14 +0200
Subject: [PATCH 1/1] assign value to mmHeight, not height
Signed-off-by: Christian Hesse <mail@eworm.de>
---
src/VBox/Additions/x11/vboxvideo/vboxvideo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/VBox/Additions/x11/vboxvideo/vboxvideo.c b/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
index 9017672..1c5a9d5 100644
|
a
|
b
|
static void setVirtualSizeRandR12(ScrnInfoPtr pScrn, bool fScreenInitTime)
|
| 1073 | 1073 | xf86ScrnToScreen(pScrn)->width = cx; |
| 1074 | 1074 | xf86ScrnToScreen(pScrn)->height = cy; |
| 1075 | 1075 | xf86ScrnToScreen(pScrn)->mmWidth = cx * 254 / 960; |
| 1076 | | xf86ScrnToScreen(pScrn)->height = cy * 254 / 960; |
| | 1076 | xf86ScrnToScreen(pScrn)->mmHeight = cy * 254 / 960; |
| 1077 | 1077 | adjustScreenPixmap(pScrn, cx, cy); |
| 1078 | 1078 | vbvxSetSolarisMouseRange(cx, cy); |
| 1079 | 1079 | } |