diff --git a/src/compositor/meta-compositor-view-native.c b/src/compositor/meta-compositor-view-native.c index ccba0ef72..932d43a3b 100644 --- a/src/compositor/meta-compositor-view-native.c +++ b/src/compositor/meta-compositor-view-native.c @@ -98,10 +98,13 @@ find_scanout_candidate (MetaCompositorView *compositor_view, if (!META_IS_CRTC_KMS (crtc)) return FALSE; - framebuffer = clutter_stage_view_get_framebuffer (stage_view); + framebuffer = clutter_stage_view_get_onscreen (stage_view); if (!COGL_IS_ONSCREEN (framebuffer)) return FALSE; + if (clutter_stage_view_has_shadowfb (stage_view)) + return FALSE; + window_actor = meta_compositor_view_get_top_window_actor (compositor_view); if (!window_actor) return FALSE;