mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 01:31:13 +00:00
Merge branch 'wip/carlosg/ignore-null-preedit-4.6' into 'gtk-4-6'
imcontextwayland: Ignore preedit updates from NULL to NULL See merge request GNOME/gtk!4711
This commit is contained in:
commit
2f9387630f
@ -174,6 +174,9 @@ text_input_preedit_apply (GtkIMContextWaylandGlobal *global)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
context = GTK_IM_CONTEXT_WAYLAND (global->current);
|
context = GTK_IM_CONTEXT_WAYLAND (global->current);
|
||||||
|
if (context->pending_preedit.text == NULL &&
|
||||||
|
context->current_preedit.text == NULL)
|
||||||
|
return;
|
||||||
|
|
||||||
state_change = ((context->pending_preedit.text == NULL)
|
state_change = ((context->pending_preedit.text == NULL)
|
||||||
!= (context->current_preedit.text == NULL));
|
!= (context->current_preedit.text == NULL));
|
||||||
|
Loading…
Reference in New Issue
Block a user