For information, "XIM" got removed from gtk

https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/1195

I took a look at it, and it's a really odd api as compared to modern
options such as Xinput2.

There are the original "X input methods", then Xinput then Xinput2, the
later supports touch devices and it's "modern".

It also explains why some things break on some distros - it may be using
older input method handling. It affects mouse (pointer), keyboard and touch
events.

Xinput2 dates October, 2009.
https://www.x.org/releases/X11R7.7/doc/inputproto/XI2proto.txt

Cheers



Em sex., 17 de jun. de 2022 às 10:37, Thiago Milczarek Sayão <
[email protected]> escreveu:

> Hi,
>
> View.java has this method (enableInputMethodEvents) with no documentation.
>
> On Linux it uses X input method events.
>
> But I can't figure out why exactly it must be enabled. When it's not
> enabled, there are input method events anyway....
> And it seems (at least on Linux) to do the same thing for keyboard events,
> but using Xlib directly instead of GDK.
>
> It seems to touch composition - that is when multiple keypresses are
> needed to generate a symbol, for example, accented characters.
>
> Why does it exist?
>
> -- Thiago.
>
>
>
>

Reply via email to