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 */
|
||||
if ((XFilterEvent(&xevent, (Window)NULL) == True) && (xevent.type != KeyRelease)) {
|
||||
/* do nothing now, the event is consumed by XIM.
|
||||
* however, KeyRelease event should be processed
|
||||
* here, otherwise modifiers remain activated. */
|
||||
if ((XFilterEvent(&xevent, (Window)NULL) == True)) {
|
||||
/* do nothing now, the event is consumed by XIM. */
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user