VirtualBox

Changeset 47038 in vbox for trunk


Ignore:
Timestamp:
Jul 8, 2013 1:11:52 PM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: Popup-center: Top-level popup-stack optimization for x11/KDE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIPopupCenter.cpp

    r46984 r47038  
    292292        case UIPopupIntegrationType_Toplevel:
    293293        {
    294             pPopupStack->setParent(pParent, Qt::Window | Qt::FramelessWindowHint);
     294            pPopupStack->setParent(pParent,
     295#ifdef Q_WS_X11
     296                                   /* Under X11 host *tool-window*:
     297                                    * 1. has no task-bar record as we want,
     298                                    * 2. do not rewoke activation/focus on show-event. */
     299                                   Qt::Tool
     300#else /* Q_WS_X11 */
     301                                   /* Under Mac host simple *window* is enough.
     302                                    * Need to test under Win host... */
     303                                   Qt::Window
     304#endif /* !Q_WS_X11 */
     305                                   | Qt::FramelessWindowHint);
    295306            break;
    296307        }
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