gtk3/modules
Carlos Garnacho 92813e52cd gtkimcontextwayland: Shuffle full resets after IM changes
Doing reset() on the text widgets after commit and delete_surrounding
is still too eager for some IMs (e.g. those that expect being able
to commit text while keeping a preedit buffer shown).

However, reset() is more of a "synchronize state" action on Wayland,
and it is still desirable to do that after changes that do come from
the IM (e.g. requesting the new surrounding text and cursor/anchor
positions). Notably here, the text_input protocol may still come up
with a preedit string after this state synchronization happens.

Shuffle the code so that the text widgets do not reset() the IM
context after text is deleted or committed, but the Wayland IM does
apply its practical effects after these actions happen. This keeps
the Wayland IM fully up-to-date wrt text widget state, while not
altering the ::commit and ::delete-surrounding-text behavior for
other IM context implementations.
2022-10-06 17:40:38 +07:00
..
input gtkimcontextwayland: Shuffle full resets after IM changes 2022-10-06 17:40:38 +07:00
printbackends Meson: Use gnome.post_install 2022-01-14 17:30:35 +01:00
Makefile.am autotools: dist all meson related build files 2019-04-11 16:45:36 +02:00
meson.build Meson: Use gnome.post_install 2022-01-14 17:30:35 +01:00