VirtualBox

Changeset 29982 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jun 2, 2010 12:12:59 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62276
Message:

FE/Qt: 5003: Activate VM window on mouse-hovering (1st try).

File:
1 edited

Legend:

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

    r29918 r29982  
    10791079                    }
    10801080                }
    1081                 /* Else this event will be processed using next 'case': */
     1081
     1082                /* Check if we should activate window under cursor: */
     1083                if (machineWindowWrapper()->machineWindow() != QApplication::activeWindow())
     1084                    machineWindowWrapper()->machineWindow()->activateWindow();
     1085
     1086                /* This event should be also processed using next 'case': */
    10821087            }
    10831088            case QEvent::MouseButtonPress:
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