VirtualBox

Changeset 6455 in vbox


Ignore:
Timestamp:
Jan 22, 2008 5:06:40 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
27431
Message:

FE/Qt: ungrab the keyboard when we loose the focus

File:
1 edited

Legend:

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

    r6443 r6455  
    17471747    switch (event->type)
    17481748    {
     1749        /* We have to handle XFocusOut right here as this event is not passed
     1750         * to VBoxConsoleView::event(). Handling this event is important for
     1751         * releasing the keyboard before the screen saver gets active. */
     1752        case XFocusOut:
     1753            if (isRunning ())
     1754                focusEvent (false);
     1755            return false;
    17491756        case XKeyPress:
    17501757        case XKeyRelease:
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