mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-10 04:30:11 +00:00
Merge branch 'wip/carlosg/issue-1317' into 'gtk-3-24'
modules: Check current context before retrieving surrounding See merge request GNOME/gtk!326
This commit is contained in:
commit
f393d371e5
@ -121,6 +121,9 @@ notify_external_change (GtkIMContextWayland *context)
|
||||
{
|
||||
gboolean result;
|
||||
|
||||
if (!global->current)
|
||||
return;
|
||||
|
||||
context->surrounding_change = ZWP_TEXT_INPUT_V3_CHANGE_CAUSE_OTHER;
|
||||
g_signal_emit_by_name (global->current, "retrieve-surrounding", &result);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user