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> Signed-off-by: Mingi Sung <sungmg@saltyming.net>
This commit is contained in:
parent
608f6d1223
commit
99bbd37b02
1 changed files with 1 additions and 0 deletions
|
@ -1514,6 +1514,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