<div dir="ltr">For information, "XIM" got removed from gtk <div><br></div><div><a href="https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/1195">https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/1195</a></div><div><br></div><div>I took a look at it, and it's a really odd api as compared to modern options such as Xinput2.</div><div><br></div><div>There are the original "X input methods", then Xinput then Xinput2, the later supports touch devices and it's "modern".</div><div><br></div><div>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.</div><div><br></div><div>Xinput2 dates October, 2009.</div><div><a href="https://www.x.org/releases/X11R7.7/doc/inputproto/XI2proto.txt">https://www.x.org/releases/X11R7.7/doc/inputproto/XI2proto.txt</a><br></div><div><br></div><div>Cheers</div><div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sex., 17 de jun. de 2022 às 10:37, Thiago Milczarek Sayão <<a href="mailto:thiago.sayao@gmail.com">thiago.sayao@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br><div><br></div><div>View.java has this method (enableInputMethodEvents) with no documentation.</div><div><br></div><div>On Linux it uses X input method events.</div><div><br></div><div>But I can't figure out why exactly it must be enabled. When it's not enabled, there are input method events anyway....</div><div>And it seems (at least on Linux) to do the same thing for keyboard events, but using Xlib directly instead of GDK.</div><div><br></div><div>It seems to touch composition - that is when multiple keypresses are needed to generate a symbol, for example, accented characters.</div><div><br></div><div>Why does it exist?</div><div><br></div><div>-- Thiago.</div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div>