forked from pool/mutter
Bjørn Lie
ae3a566dd9
New checkout + add patch subbed upstream (I had the exact same crash quite quickly after logging in post Mesa version upgrade). Normally I'd prefer to not push non-acked patches, but this seems sane OBS-URL: https://build.opensuse.org/request/show/1079807 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/mutter?expand=0&rev=443
33 lines
1022 B
Diff
33 lines
1022 B
Diff
From 455456a9abdf72250fe53eab2f06ca3161831f05 Mon Sep 17 00:00:00 2001
|
|
From: Robert Mader <robert.mader@collabora.com>
|
|
Date: Sun, 16 Apr 2023 11:21:49 +0200
|
|
Subject: [PATCH] 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
|
|
---
|
|
src/wayland/meta-wayland-xdg-shell.c | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/wayland/meta-wayland-xdg-shell.c b/src/wayland/meta-wayland-xdg-shell.c
|
|
index b0ce310d2a..45663aba15 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)
|
|
{
|
|
--
|
|
GitLab
|
|
|