Index: /trunk/src/VBox/Main/src-client/DisplayImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-client/DisplayImpl.cpp	(revision 52978)
+++ /trunk/src/VBox/Main/src-client/DisplayImpl.cpp	(revision 52979)
@@ -1459,5 +1459,5 @@
     int32_t xOrigin = 0;
     int32_t yOrigin = 0;
-    bool fEnabled = true;
+    GuestMonitorStatus_T guestMonitorStatus = GuestMonitorStatus_Enabled;
 
     if (aScreenId == VBOX_VIDEO_PRIMARY_SCREEN)
@@ -1484,5 +1484,6 @@
         xOrigin = pFBInfo->xOrigin;
         yOrigin = pFBInfo->yOrigin;
-        fEnabled = !RT_BOOL(pFBInfo->flags & VBVA_SCREEN_F_DISABLED);
+        if (pFBInfo->flags & VBVA_SCREEN_F_DISABLED)
+            guestMonitorStatus = GuestMonitorStatus_Disabled;
     }
     else
@@ -1502,5 +1503,5 @@
         *aYOrigin = yOrigin;
     if (aGuestMonitorStatus)
-        *aGuestMonitorStatus = fEnabled? GuestMonitorStatus_Enabled: GuestMonitorStatus_Disabled;
+        *aGuestMonitorStatus = guestMonitorStatus;
 
     return S_OK;
