VirtualBox

Changeset 70756 in vbox


Ignore:
Timestamp:
Jan 26, 2018 10:06:28 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120525
Message:

FE/Qt bugref:9027 Set wm_class after vm window transparancy settings to fix seamless mode issue

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

Legend:

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

    r69722 r70756  
    9696void UIMachineWindow::prepare()
    9797{
     98    /* Prepare session-connections: */
     99    prepareSessionConnections();
     100
     101    /* Prepare main-layout: */
     102    prepareMainLayout();
     103
     104    /* Prepare menu: */
     105    prepareMenu();
     106
     107    /* Prepare status-bar: */
     108    prepareStatusBar();
     109
     110    /* Prepare visual-state: */
     111    prepareVisualState();
     112
     113    /* Prepare machine-view: */
     114    prepareMachineView();
     115
     116    /* Prepare handlers: */
     117    prepareHandlers();
     118
     119    /* Load settings: */
     120    loadSettings();
     121
     122    /* Retranslate window: */
     123    retranslateUi();
     124
     125    /* Show (must be done before updating the appearance): */
     126    showInNecessaryMode();
     127
     128    /* Update all the elements: */
     129    updateAppearanceOf(UIVisualElement_AllStuff);
     130
    98131#ifdef VBOX_WS_X11
    99132    /* Prepare default class/name values: */
     
    104137        strWindowName = QString("VirtualBox Machine UUID: %1").arg(vboxGlobal().managedVMUuid());
    105138    /* Assign WM_CLASS property: */
    106     vboxGlobal().setWMClass(this, strWindowName, strWindowClass);
     139    VBoxGlobal::setWMClass(this, strWindowName, strWindowClass);
    107140#endif
    108 
    109     /* Prepare session-connections: */
    110     prepareSessionConnections();
    111 
    112     /* Prepare main-layout: */
    113     prepareMainLayout();
    114 
    115     /* Prepare menu: */
    116     prepareMenu();
    117 
    118     /* Prepare status-bar: */
    119     prepareStatusBar();
    120 
    121     /* Prepare visual-state: */
    122     prepareVisualState();
    123 
    124     /* Prepare machine-view: */
    125     prepareMachineView();
    126 
    127     /* Prepare handlers: */
    128     prepareHandlers();
    129 
    130     /* Load settings: */
    131     loadSettings();
    132 
    133     /* Retranslate window: */
    134     retranslateUi();
    135 
    136     /* Show (must be done before updating the appearance): */
    137     showInNecessaryMode();
    138 
    139     /* Update all the elements: */
    140     updateAppearanceOf(UIVisualElement_AllStuff);
    141141}
    142142
     
    631631}
    632632#endif /* VBOX_WS_MAC */
    633 
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp

    r70755 r70756  
    13711371#ifdef VBOX_WS_X11
    13721372    /* Assign same name to both WM_CLASS name & class for now: */
    1373     vboxGlobal().setWMClass(this, "VirtualBox Manager", "VirtualBox Manager");
     1373    VBoxGlobal::setWMClass(this, "VirtualBox Manager", "VirtualBox Manager");
    13741374#endif
    13751375
Note: See TracChangeset for help on using the changeset viewer.

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