diff options
author | Robert Mader <robert.mader@collabora.com> | 2023-04-16 11:21:49 +0200 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2023-04-20 12:34:47 +0000 |
commit | b56ab3670408f114729707cfcde5853516c91206 (patch) | |
tree | d5b216ee8e5f5cd116005ff45dc2eac1288e2e33 | |
parent | dd6be7cf2ae16c30b315f538367e69300af9d4b9 (diff) | |
download | mutter-b56ab3670408f114729707cfcde5853516c91206.tar.gz |
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>
-rw-r--r-- | src/wayland/meta-wayland-xdg-shell.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wayland/meta-wayland-xdg-shell.c b/src/wayland/meta-wayland-xdg-shell.c index 682024a2a..b48e79fd9 100644 --- a/src/wayland/meta-wayland-xdg-shell.c +++ b/src/wayland/meta-wayland-xdg-shell.c @@ -1240,7 +1240,10 @@ meta_wayland_xdg_popup_apply_state (MetaWaylandSurfaceRole *surface_role, finish_popup_setup (xdg_popup); if (!meta_wayland_surface_get_window (surface)) - return; + { + meta_wayland_actor_surface_queue_frame_callbacks (actor_surface, pending); + return; + } if (pending->xdg_positioner) { |