VirtualBox

Changeset 56935 in vbox for trunk


Ignore:
Timestamp:
Jul 14, 2015 5:46:30 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: X11: 5978: Adjusting mini-toolbar z-order for GNOME Shell, same as in r101639.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/x11/VBoxX11Helper.cpp

    r56930 r56935  
    7575                if (QString((const char*)pcData).contains("Mutter", Qt::CaseInsensitive))
    7676                    wmType = X11WMType_Mutter;
     77                else
     78                if (QString((const char*)pcData).contains("GNOME Shell", Qt::CaseInsensitive))
     79                    wmType = X11WMType_GnomeShell;
    7780                if (pcData)
    7881                    XFree(pcData);
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/x11/VBoxX11Helper.h

    r56930 r56935  
    2525    X11WMType_KWin,
    2626    X11WMType_Mutter,
     27    X11WMType_GnomeShell,
    2728};
    2829
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIMiniToolBar.cpp

    r56932 r56935  
    330330    {
    331331        case X11WMType_Mutter:
     332        case X11WMType_GnomeShell:
    332333            VBoxGlobal::representAsToolbar(this);
    333334            break;
     
    502503    AssertPtrReturnVoid(m_pEmbeddedToolbar);
    503504    m_pEmbeddedToolbar->move(point);
    504 
    505 #ifdef Q_WS_X11
    506     /* Update window mask: */
    507     setMask(m_pEmbeddedToolbar->geometry());
    508 #endif /* Q_WS_X11 */
    509505}
    510506
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