On X11, fix IME not working
The change to xinput2 completely disabled IME support, thus we've got a dead keys reporting, because nothing was eating the key events anymore, however that's not what we really need, given that not working IME makes it impossible for some users to type. The proper solution is to not use Xlib at all for that and rely on xcb and its tooling around the XIM and text compose stuff, so we'll have full control over what is getting sent to the XIM/IC or not. Fixes #2888.
This commit is contained in:
parent
b0106898f7
commit
a320702a71
4 changed files with 57 additions and 59 deletions
|
|
@ -245,6 +245,7 @@ impl UnownedWindow {
|
|||
| ffi::StructureNotifyMask
|
||||
| ffi::VisibilityChangeMask
|
||||
| ffi::KeyPressMask
|
||||
| ffi::KeyReleaseMask
|
||||
| ffi::KeymapStateMask
|
||||
| ffi::ButtonPressMask
|
||||
| ffi::ButtonReleaseMask
|
||||
|
|
@ -446,8 +447,6 @@ impl UnownedWindow {
|
|||
let mask = ffi::XI_MotionMask
|
||||
| ffi::XI_ButtonPressMask
|
||||
| ffi::XI_ButtonReleaseMask
|
||||
| ffi::XI_KeyPressMask
|
||||
| ffi::XI_KeyReleaseMask
|
||||
| ffi::XI_EnterMask
|
||||
| ffi::XI_LeaveMask
|
||||
| ffi::XI_FocusInMask
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue