mirror of
https://github.com/brl/mutter.git
synced 2025-07-05 10:31:18 +00:00
b9f5f939566ce689150d76a4f818e9da85d8dbd1

When a xdg-toplevel is reset, the window and actor are recreated, and
all state is cleared. When this happened, we earlied out from the
xdg-toplevel commit handler, which would mean that if the client had
queued frame callbacks when resetting, they'd be left in the pending
commit state, later hitting an assert as they were not handled.
Fix this by queuing the frame callbacks no the new actor, so that they
are emitted whenever the actor is eventually painted.
https://gitlab.gnome.org/GNOME/mutter/issues/240
(cherry picked from commit d791710197
)
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%