forked from AuroraMiddleware/gtk
Merge branch 'fix-issue-1366' into 'gtk-3-24'
entry: Handle no-window events in gtk_entry_event See merge request GNOME/gtk!363
This commit is contained in:
commit
446cb9a217
@ -4324,6 +4324,7 @@ gtk_entry_event (GtkWidget *widget,
|
||||
for (i = 0; i < MAX_ICONS; i++)
|
||||
{
|
||||
if (priv->icons[i] &&
|
||||
event->any.window != NULL &&
|
||||
priv->icons[i]->window == event->any.window)
|
||||
{
|
||||
icon_info = priv->icons[i];
|
||||
|
Loading…
Reference in New Issue
Block a user