Changeset 16751 in vbox
- Timestamp:
- Feb 13, 2009 8:04:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r16749 r16751 2183 2183 VBoxConsoleViewCompEvent, (XPointer) event) == True)) { 2184 2184 XPutBackEvent(event->xkey.display, &returnEvent); 2185 /* Discard it, don't pass it to Qt. */ 2185 2186 return true; 2186 2187 } 2187 #if 02188 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 #endif2199 2188 2200 2189 KeySym ks = ::XKeycodeToKeysym (event->xkey.display, event->xkey.keycode, 0);
Note:
See TracChangeset
for help on using the changeset viewer.