summaryrefslogtreecommitdiff
path: root/src/VBox/Main/src-client/DisplayImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Main/src-client/DisplayImpl.cpp')
-rw-r--r--src/VBox/Main/src-client/DisplayImpl.cpp2
1 files changed, 2 insertions, 0 deletions
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;
}