VirtualBox

Changeset 16751 in vbox


Ignore:
Timestamp:
Feb 13, 2009 8:04:34 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt: remove disabled keyboard code

File:
1 edited

Legend:

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

    r16749 r16751  
    21832183                       VBoxConsoleViewCompEvent, (XPointer) event) == True)) {
    21842184        XPutBackEvent(event->xkey.display, &returnEvent);
     2185        /* Discard it, don't pass it to Qt. */
    21852186        return true;
    21862187    }
    2187 #if 0
    2188     if ((XKeyRelease == event->type) && XPending(event->xkey.display))
    2189     {
    2190         XEvent nextEvent;
    2191 
    2192         XPeekEvent(event->xkey.display, &nextEvent);
    2193         if ((XKeyPress == nextEvent.type) &&
    2194             (event->xkey.keycode == nextEvent.xkey.keycode))
    2195             /* Discard it, don't pass it to Qt. */
    2196             return true;
    2197     }
    2198 #endif
    21992188
    22002189    KeySym ks = ::XKeycodeToKeysym (event->xkey.display, event->xkey.keycode, 0);
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