wayland: Don't assert fail when dealing with popup windows
This commit is contained in:
parent
e6b950e31b
commit
c3950699bf
1 changed files with 5 additions and 0 deletions
|
@ -1838,6 +1838,11 @@ meta_wayland_surface_configure_notify (MetaWaylandSurface *surface,
|
|||
sent_serial->value = serial;
|
||||
}
|
||||
}
|
||||
else if (surface->xdg_popup.resource)
|
||||
{
|
||||
/* This can happen if the popup window loses or receives focus.
|
||||
* Just ignore it. */
|
||||
}
|
||||
else if (surface->wl_shell_surface.resource)
|
||||
wl_shell_surface_send_configure (surface->wl_shell_surface.resource,
|
||||
0, new_width, new_height);
|
||||
|
|
Loading…
Reference in a new issue