Changeset 72393 in vbox for trunk/src/VBox
- Timestamp:
- May 30, 2018 3:24:13 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp
r69500 r72393 828 828 } 829 829 830 // /* Fix for http://www.virtualbox.org/ticket/1296:831 // * when X11 sends events for repeated keys, it always inserts an XKeyRelease before the XKeyPress. */832 // XEvent returnEvent;833 // if ((pEvent->type == XKeyRelease) && (XCheckIfEvent(pEvent->xkey.display, &returnEvent,834 // UIKeyboardHandlerCompEvent, (XPointer)pEvent) == True))835 // {836 // XPutBackEvent(pEvent->xkey.display, &returnEvent);837 // fResult = true;838 // break;839 // }840 841 830 /* Calculate flags: */ 842 831 int iflags = 0; … … 1029 1018 /* Initialize the X keyboard subsystem: */ 1030 1019 initMappedX11Keyboard(QX11Info::display(), gEDataManager->remappedScanCodes()); 1020 /* Fix for http://www.virtualbox.org/ticket/1296: 1021 * when X11 sends events for repeated keys, it always inserts an XKeyRelease 1022 * before the XKeyPress. */ 1023 /* Disable key release events during key auto-repeat: */ 1024 XkbSetDetectableAutoRepeat(QX11Info::display(), True, NULL); 1031 1025 #endif /* VBOX_WS_X11 */ 1032 1026
Note:
See TracChangeset
for help on using the changeset viewer.