wayland: Don't reset input focus on text commit
authorChangwoo Ryu <cwryu@debian.org>
Tue, 15 May 2018 14:45:43 +0000 (23:45 +0900)
committerSimon McVittie <smcv@debian.org>
Sun, 8 Jul 2018 10:32:56 +0000 (11:32 +0100)
commit0822c4a86db23fbe3fc9101ca4ac9b9e3b06343b
tree1411ffb8c773c4361a7690021497d4bf8482293d
parent7a44a20aea760b54b4ef1e83719a61c9df15f8ab
wayland: Don't reset input focus on text commit

Preedit text can be active even after text commit. Resetting the input
focus will lead to unintended commit of the preedit text.

Bug: https://gitlab.gnome.org/GNOME/mutter/issues/152
Origin: upstream, 3.28.3, commit:abc7ad8e9f67a720516fb739c5dfe4b49748d423

Gbp-Pq: Name wayland-Don-t-reset-input-focus-on-text-commit.patch
src/wayland/meta-wayland-text-input.c