[mutter] meta-window-actor: Fix uninitialized variable



commit 493f619adc2a682a30adba76439dff4ed474778c
Author: Rico Tzschichholz <ricotz t-online de>
Date:   Wed Feb 6 08:19:20 2013 +0100

    meta-window-actor: Fix uninitialized variable
    
    Fallout of 90f2a3ae4ca205f7cbbc2daeba2ab7cfa5ed1613

 src/compositor/meta-window-actor.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c
index ce691ae..3a4d7cc 100644
--- a/src/compositor/meta-window-actor.c
+++ b/src/compositor/meta-window-actor.c
@@ -1185,6 +1185,7 @@ meta_window_actor_should_unredirect (MetaWindowActor *self)
       int screen_width, screen_height, i;
 
       meta_screen_get_size (screen, &screen_width, &screen_height);
+      meta_window_get_outer_rect (priv->window, &window_rect);
 
       if (window_rect.x == 0 && window_rect.y == 0 &&
           window_rect.width == screen_width && window_rect.height == screen_height)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]