xdg-shell: Always handle frame callbacks in popup_apply_state()

Just like we do in `toplevel_apply_state()`.

Closes https://gitlab.gnome.org/GNOME/mutter/-/issues/2752

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2963>
This commit is contained in:
Robert Mader 2023-04-16 11:21:49 +02:00 committed by Marge Bot
parent dd6be7cf2a
commit b56ab36704

View File

@ -1240,7 +1240,10 @@ meta_wayland_xdg_popup_apply_state (MetaWaylandSurfaceRole *surface_role,
finish_popup_setup (xdg_popup); finish_popup_setup (xdg_popup);
if (!meta_wayland_surface_get_window (surface)) if (!meta_wayland_surface_get_window (surface))
return; {
meta_wayland_actor_surface_queue_frame_callbacks (actor_surface, pending);
return;
}
if (pending->xdg_positioner) if (pending->xdg_positioner)
{ {