From 4cc842296e28f665f7154e27339b6df7658db4a7 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 6 Dec 2013 17:42:43 -0500 Subject: [PATCH] window-actor: Simplify the unredirected check in cull_out https://bugzilla.gnome.org/show_bug.cgi?id=720631 --- src/compositor/meta-window-actor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index 02c888803..9df25d6cc 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -1738,10 +1738,10 @@ meta_window_actor_cull_out (MetaCullable *cullable, cairo_region_t *clip_region) { MetaWindowActor *self = META_WINDOW_ACTOR (cullable); - MetaCompScreen *info = meta_screen_get_compositor_data (self->priv->screen); + MetaWindowActorPrivate *priv = self->priv; /* Don't do any culling for the unredirected window */ - if (self == info->unredirected_window) + if (priv->unredirected) return; meta_window_actor_set_unobscured_region (self, unobscured_region);