VirtualBox

Changeset 1649

Show
Ignore:
Timestamp:
03/22/07 20:20:02 (2 years ago)
Author:
vboxsync
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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); 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy