GHOST/X11: Xinput/XIM support caused double key-up
All keyboard events were sending double key events (including modifiers) when xinput was enabled with gnome (causing much confusion!). I cant test if XIM works, but this isn't useful to send double events, so disabling for now.
This commit is contained in:
@@ -571,10 +571,8 @@ processEvents(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* dispatch event to XIM server */
|
/* dispatch event to XIM server */
|
||||||
if ((XFilterEvent(&xevent, (Window)NULL) == True) && (xevent.type != KeyRelease)) {
|
if ((XFilterEvent(&xevent, (Window)NULL) == True)) {
|
||||||
/* do nothing now, the event is consumed by XIM.
|
/* do nothing now, the event is consumed by XIM. */
|
||||||
* however, KeyRelease event should be processed
|
|
||||||
* here, otherwise modifiers remain activated. */
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user