[mutter/gnome-3-28] wayland: Don't reset input focus on text commit
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gnome-3-28] wayland: Don't reset input focus on text commit
- Date: Sat, 26 May 2018 13:27:36 +0000 (UTC)
commit abc7ad8e9f67a720516fb739c5dfe4b49748d423
Author: Changwoo Ryu <cwryu debian org>
Date: Tue May 15 23:45:43 2018 +0900
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.
https://gitlab.gnome.org/GNOME/mutter/issues/152
Closes: #152
src/wayland/meta-wayland-text-input.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/src/wayland/meta-wayland-text-input.c b/src/wayland/meta-wayland-text-input.c
index 63c11462d..e05eaeeae 100644
--- a/src/wayland/meta-wayland-text-input.c
+++ b/src/wayland/meta-wayland-text-input.c
@@ -120,8 +120,6 @@ meta_wayland_text_input_focus_commit_text (ClutterInputFocus *focus,
gtk_text_input_send_preedit_string (resource, NULL, 0);
gtk_text_input_send_commit_string (resource, text);
}
-
- clutter_input_focus_reset (focus);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]