VirtualBox

Changeset 57100 in vbox


Ignore:
Timestamp:
Jul 27, 2015 3:06:45 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: 5978: X11: Unity workaround to have mini-toolbar in full-screen in 95% of cases instead of 60%.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.cpp

    r57050 r57100  
    254254        connect(m_pMiniToolBar, SIGNAL(sigNotifyAboutWindowActivationStolen()),
    255255                this, SLOT(sltRevokeWindowActivation()), Qt::QueuedConnection);
     256# ifdef Q_WS_X11
     257        // WORKAROUND:
     258        // Due to Unity bug we want native full-screen flag to be set
     259        // for mini-toolbar _before_ trying to show it in full-screen mode.
     260        // That significantly improves of chances to have required geometry.
     261        if (vboxGlobal().typeOfWindowManager() == X11WMType_Compiz)
     262            vboxGlobal().setFullScreenFlag(m_pMiniToolBar);
     263# endif /* Q_WS_X11 */
    256264    }
    257265}
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