VirtualBox

Changeset 1649 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 22, 2007 7:20:02 PM (18 years ago)
Author:
vboxsync
Message:

Workaround for the problem when VBox captures keyboard but it not active actually.

File:
1 edited

Legend:

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

    r1611 r1649  
    15381538    if (focus)
    15391539    {
     1540#ifdef __WIN__
     1541        if (   gs.autoCapture()
     1542            && GetAncestor (winId(), GA_ROOT) == GetForegroundWindow())
     1543#else
    15401544        if (gs.autoCapture())
     1545#endif /* __WIN__ */
    15411546        {
    15421547            captureKbd (true);
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