Changeset 64651 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Nov 11, 2016 3:58:27 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDesktopWidgetWatchdog.cpp
r64628 r64651 109 109 void UIInvisibleWindow::sltFallback() 110 110 { 111 /* Sanity check for fallback geometry: */ 112 QRect fallbackGeometry(x(), y(), width(), height()); 113 if ( fallbackGeometry.width() <= 1 114 || fallbackGeometry.height() <= 1) 115 fallbackGeometry = gpDesktop->screenGeometry(m_iHostScreenIndex); 111 116 LogRel(("GUI: UIInvisibleWindow::sltFallback: %s event haven't came. " 112 117 "Screen: %d, work area: %dx%d x %dx%d\n", 113 118 !m_fMoveCame ? "Move" : !m_fResizeCame ? "Resize" : "Some", 114 m_iHostScreenIndex, x(), y(), width(),height()));115 emit sigHostScreenAvailableGeometryCalculated(m_iHostScreenIndex, QRect(x(), y(), width(), height()));119 m_iHostScreenIndex, fallbackGeometry.x(), fallbackGeometry.y(), fallbackGeometry.width(), fallbackGeometry.height())); 120 emit sigHostScreenAvailableGeometryCalculated(m_iHostScreenIndex, fallbackGeometry); 116 121 } 117 122
Note:
See TracChangeset
for help on using the changeset viewer.