Changeset 27453 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 17, 2010 3:32:00 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 58936
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineLogicFullscreen.h
r27335 r27453 80 80 friend class UIMachineLogic; 81 81 friend class UIMachineWindowFullscreen; 82 friend class UIMachineViewFullscreen; 82 83 }; 83 84 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineViewFullscreen.cpp
r27415 r27453 40 40 #include "UIMachineWindow.h" 41 41 #include "UIFrameBuffer.h" 42 #include "UIMachineLogicFullscreen.h" 42 43 #include "UIMachineViewFullscreen.h" 43 44 … … 292 293 QRect UIMachineViewFullscreen::workingArea() 293 294 { 294 return QApplication::desktop()->screenGeometry(this); 295 /* Get corresponding screen: */ 296 int iScreen = static_cast<UIMachineLogicFullscreen*>(machineLogic())->hostScreenForGuestScreen(screenId()); 297 /* Return available geometry for that screen: */ 298 return QApplication::desktop()->screenGeometry(iScreen); 295 299 } 296 300
Note:
See TracChangeset
for help on using the changeset viewer.