mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 01:48:55 +00:00
9c0fa583f5
The actor-offscreen-redirect didn't initialize its state properly, so it could potentially end up with the "was_painted" state being TRUE from the start, effectively skipping the whole test. Fixing so that the test even run resulted in the test getting stuck in a dead lock due to the verification that a frame was drawn was done from a paint callback. A paint callback had the mutex held, so when the test case tried to run the main loop, the next paint callback caller path taken would try to re-lock the same mutex, thus dead lock. https://bugzilla.gnome.org/show_bug.cgi?id=768976