Skip to content
Commit 08386229 authored by Michael Olbrich's avatar Michael Olbrich Committed by Daniel Stone
Browse files

compositor: don't try to repaint while offscreen or sleeping



weston_output_schedule_repaint() already checks the compositor state but
idle_repaint() is called asynchronously so the state may have changed.

Check the state again and abort if necessary.

Without this the DRM compositor might execute a modeset in
drm_output_start_repaint_loop() which should not happen while sleeping or
offscreen.

Signed-off-by: default avatarMichael Olbrich <m.olbrich@pengutronix.de>
parent c6aa8c9b
Loading
Loading
Loading
Pipeline #1216053 failed with stages
in 5 minutes and 42 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment