diff --git a/src/backends/native/meta-onscreen-native.c b/src/backends/native/meta-onscreen-native.c index a3ba44711..2388a44a2 100644 --- a/src/backends/native/meta-onscreen-native.c +++ b/src/backends/native/meta-onscreen-native.c @@ -1530,6 +1530,12 @@ finish_frame_result_feedback (const MetaKmsFeedback *kms_feedback, g_warning ("Cursor update failed: %s", error->message); frame_info = cogl_onscreen_peek_head_frame_info (onscreen); + if (!frame_info) + { + g_warning ("The feedback callback was called, but there was no frame info"); + return; + } + frame_info->flags |= COGL_FRAME_INFO_FLAG_SYMBOLIC; meta_onscreen_native_notify_frame_complete (onscreen);