mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
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
This commit is contained in:
parent
473bf38753
commit
bd36764b4d
@ -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_preedit_string (resource, NULL, 0);
|
||||||
gtk_text_input_send_commit_string (resource, text);
|
gtk_text_input_send_commit_string (resource, text);
|
||||||
}
|
}
|
||||||
|
|
||||||
clutter_input_focus_reset (focus);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user