diff --git a/src/compositor/meta-compositor-view-native.c b/src/compositor/meta-compositor-view-native.c index 8f18ba62d..0d5a23cf9 100644 --- a/src/compositor/meta-compositor-view-native.c +++ b/src/compositor/meta-compositor-view-native.c @@ -86,7 +86,6 @@ find_scanout_candidate (MetaCompositorView *compositor_view, MetaCrtc *crtc; CoglFramebuffer *framebuffer; MetaWindowActor *window_actor; - MetaWindow *window; MtkRectangle view_rect; ClutterActorBox actor_box; MetaSurfaceActor *surface_actor; @@ -182,14 +181,6 @@ find_scanout_candidate (MetaCompositorView *compositor_view, return FALSE; } - window = meta_window_actor_get_meta_window (window_actor); - if (!window) - { - meta_topic (META_DEBUG_RENDER, - "No direct scanout candidate: no meta-window"); - return FALSE; - } - if (!clutter_actor_get_paint_box (CLUTTER_ACTOR (window_actor), &actor_box)) {