From 6a16f6900dd884e07125b51c9625f6be0a1f9b70 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Tue, 28 Jun 2011 12:27:03 +0200 Subject: Imported Upstream version 4.0.10-dfsg --- src/VBox/Main/src-client/DisplayImpl.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/VBox/Main/src-client/DisplayImpl.cpp') diff --git a/src/VBox/Main/src-client/DisplayImpl.cpp b/src/VBox/Main/src-client/DisplayImpl.cpp index 117dd6b53..8cc30e536 100644 --- a/src/VBox/Main/src-client/DisplayImpl.cpp +++ b/src/VBox/Main/src-client/DisplayImpl.cpp @@ -990,6 +990,8 @@ void Display::getFramebufferDimensions(int32_t *px1, int32_t *py1, * will still work as it should. */ if (!(maFramebuffers[0].fDisabled)) { + x1 = (int32_t)maFramebuffers[0].xOrigin; + y1 = (int32_t)maFramebuffers[0].yOrigin; x2 = mpDrv->IConnector.cx + (int32_t)maFramebuffers[0].xOrigin; y2 = mpDrv->IConnector.cy + (int32_t)maFramebuffers[0].yOrigin; } -- cgit v1.2.3