VirtualBox

Changeset 43227 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Sep 6, 2012 1:52:20 PM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: 6334: Window position not correctly restored (KDE): Some kwin position save/restore workaround for VM selector UI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp

    r43155 r43227  
    972972        {
    973973            if ((windowState() & (Qt::WindowMaximized | Qt::WindowMinimized | Qt::WindowFullScreen)) == 0)
     974            {
     975#ifdef Q_WS_X11
     976                if (vboxGlobal().isKWinManaged())
     977                    m_normalGeo.moveTo(frameGeometry().x(), frameGeometry().y());
     978                else
     979                    m_normalGeo.moveTo(geometry().x(), geometry().y());
     980#else /* Q_WS_X11 */
    974981                m_normalGeo.moveTo(geometry().x(), geometry().y());
     982#endif /* !Q_WS_X11 */
     983            }
    975984            break;
    976985        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette