VirtualBox

Changeset 27366 in vbox for trunk/src


Ignore:
Timestamp:
Mar 15, 2010 3:10:23 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: New running VM core: fix initial layout of guest screens for multi-screen support for X11.

File:
1 edited

Legend:

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

    r27335 r27366  
    7676    updateAppearanceOf(UIVisualElement_AllStuff);
    7777
    78     /* Make sure the window is placed on the right screen before we are going
    79      * into fullscreen. */
     78    /* Make sure the window is placed on valid screen
     79     * before we are show fullscreen window: */
    8080    sltPlaceOnScreen();
    8181
    82     /* Show window: */
     82    /* Show fullscreen window: */
    8383    showFullScreen();
     84
     85    /* Make sure the window is placed on valid screen again
     86     * after window is shown & window's decorations applied.
     87     * That is required due to X11 Window Geometry Rules. */
     88    sltPlaceOnScreen();
    8489
    8590#ifdef Q_WS_MAC
     
    107112    move(r.topLeft());
    108113    resize(r.size());
    109 }
    110 
     114    qApp->processEvents();
     115}
    111116
    112117void UIMachineWindowFullscreen::sltMachineStateChanged()
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