mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
Owen W. Taylor
9745f9f8ce
Fix problems resulting in left-over queued frames
* Use -1 rather than 0 as a flag for pending queue entries; 0 is a valid frame_counter value from Cogl. * Consistently handle the fact we can have more than one pending entry. It's app misbehavior to submit a new frame before _NET_WM_FRAME_DRAWN is received; but we accept such frame messages, so we can't just leak them. * If we remove send_frame_message_timer, assign the current frame counter to pending entries. * To try to avoid regressing on this, when sending _NET_WM_FRAME_TIMINGS messages, if we have stale messages, or messages with no frame drawn time, warn and remove them from the queue rather than just accumulating. * Improve commenting. https://bugzilla.gnome.org/show_bug.cgi?id=738686
…
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%