VirtualBox

Ignore:
Timestamp:
Jan 8, 2009 12:42:11 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4-OSX: Save/restore window group connection on fullscreen switch.
Otherwise dock preview icon/expose isn't working anymore for OpenGL apps after
switching to fullscreen/seamless.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp

    r15804 r15863  
    24272427{
    24282428#ifdef Q_WS_MAC
     2429    /* setWindowState removes the window group connection somehow. So save it
     2430     * temporary. */
     2431    WindowGroupRef g = GetWindowGroup (::darwinToWindowRef (this));
    24292432    if (aSeamless)
    24302433        if (aOn)
     
    24472450        /* Here we are going really fullscreen */
    24482451        setWindowState (windowState() ^ Qt::WindowFullScreen);
     2452    /* Reassign the correct window group. */
     2453    SetWindowGroup (::darwinToWindowRef (this), g);
    24492454#else
    24502455    NOREF (aOn);
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