- Timestamp:
- May 20, 2016 11:50:31 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r60362 r61094 1875 1875 case WM_SYSKEYUP: 1876 1876 { 1877 // WORKAROUND: 1878 // There is an issue in the Windows Qt5 event processing sequence 1879 // causing QAbstractNativeEventFilter to receive Windows native events 1880 // coming not just to the top-level window but to actual target as well. 1881 // They are calling one - "global event" and another one - "context event". 1882 // That way native events are always duplicated with almost no possibility 1883 // to distinguish copies except the fact that synthetic event always have 1884 // time set to 0 (actually that field was not initialized at all, we had 1885 // fixed that in our private Qt tool). We should skip such events instantly. 1886 if (pEvent->time == 0) 1887 return false; 1888 1877 1889 /* Delegate key-event handling to the keyboard-handler: */ 1878 1890 return machineLogic()->keyboardHandler()->nativeEventPostprocessor(pMessage, screenId());
Note:
See TracChangeset
for help on using the changeset viewer.