meta-window-actor: Fix uninitialized variable

Fallout of 90f2a3ae4c
This commit is contained in:
Rico Tzschichholz 2013-02-06 08:19:20 +01:00 committed by Rico Tzschichholz
parent a613a55658
commit 493f619adc

View File

@ -1185,6 +1185,7 @@ meta_window_actor_should_unredirect (MetaWindowActor *self)
int screen_width, screen_height, i; int screen_width, screen_height, i;
meta_screen_get_size (screen, &screen_width, &screen_height); 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 && if (window_rect.x == 0 && window_rect.y == 0 &&
window_rect.width == screen_width && window_rect.height == screen_height) window_rect.width == screen_width && window_rect.height == screen_height)