onscreen/native: Set frame result to IDLE on swap failure
So that swap failure messages are not also followed by: meta_stage_native_redraw_view: runtime check failed: (!META_IS_CRTC_KMS (crtc)) Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3817>
This commit is contained in:
parent
0de83166db
commit
45a97a5e3f
1 changed files with 1 additions and 0 deletions
|
@ -1484,6 +1484,7 @@ meta_onscreen_native_swap_buffers_with_damage (CoglOnscreen *onscreen,
|
|||
swap_failed:
|
||||
frame_info->flags |= COGL_FRAME_INFO_FLAG_SYMBOLIC;
|
||||
meta_onscreen_native_notify_frame_complete (onscreen);
|
||||
clutter_frame_set_result (frame, CLUTTER_FRAME_RESULT_IDLE);
|
||||
}
|
||||
|
||||
gboolean
|
||||
|
|
Loading…
Reference in a new issue