minetest / irrlicht

Minetest's fork of Irrlicht
Other
115 stars 87 forks source link

[SDL] Improve handling of IMEs #285

Closed y5nw closed 9 months ago

y5nw commented 9 months ago

This PR sets the text input rectangle when text input is used. It allows (among other things) IMEs to position the text input candidate list correctly.

The screenshots below demonstrate the difference. In both screenshots, the "World name" input box is focused.

Before: 2024-02-07-20-50-22

After: 2024-02-07-20-57-00

This also (at least partially) fixes minetest/minetest#13473 (dead keys and compose keys do seem to work under IBus for me now) by not restarting text input when this is not necessary.

y5nw commented 9 months ago

Actually I think I can fix another (semi-related) bug while I am at it.

Edit: done.