VirtualBox

Changeset 29988 in vbox for trunk/src


Ignore:
Timestamp:
Jun 2, 2010 12:45:07 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt: 5003: Activate VM window on mouse-hovering (addition to r62276 for x11).

File:
1 edited

Legend:

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

    r29982 r29988  
    10821082                /* Check if we should activate window under cursor: */
    10831083                if (machineWindowWrapper()->machineWindow() != QApplication::activeWindow())
     1084                {
     1085                    /* Activating hovered machine window: */
    10841086                    machineWindowWrapper()->machineWindow()->activateWindow();
     1087#ifdef Q_WS_X11
     1088                    /* On X11 its not enough to just activate window if you
     1089                     * want to raise it also, so we will make it separately: */
     1090                    machineWindowWrapper()->machineWindow()->raise();
     1091#endif /* Q_WS_X11 */
     1092                }
    10851093
    10861094                /* This event should be also processed using next 'case': */
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