VirtualBox

Ignore:
Timestamp:
Oct 17, 2012 11:40:00 AM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: 6459: VirtualBox GUI fullscreen-mode didn't get keyboard focus initially.

File:
1 edited

Legend:

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

    r41689 r43666  
    177177        sltPlaceOnScreen();
    178178
     179#ifdef Q_WS_WIN
     180        /* On Windows we should activate main window first,
     181         * because entering fullscreen there doesn't means window will be auto-activated,
     182         * so no window-activation event will be received
     183         * and no keyboard-hook created otherwise... */
     184        if (m_uScreenId == 0)
     185            setWindowState(windowState() | Qt::WindowActive);
     186#endif /* Q_WS_WIN */
     187
    179188        /* Show window fullscreen: */
    180189        showFullScreen();
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