diff --git a/ChangeLog b/ChangeLog index ffb2f6bc4..832254da7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-10-15 Havoc Pennington + + * src/window.c (meta_window_new): use queried attributes to check + whether window should be initially maximized, rather than window + rect + 2001-10-15 Havoc Pennington * src/main.c (meta_restart): add a restart feature, for debugging diff --git a/src/window.c b/src/window.c index ab642daf6..ea0ed14da 100644 --- a/src/window.c +++ b/src/window.c @@ -362,9 +362,9 @@ meta_window_new (MetaDisplay *display, Window xwindow, * assume fullscreen state instead once we have that state... */ if (!window->maximized && - window->rect.x == 0 && window->rect.y == 0 && - window->rect.width == window->screen->width && - window->rect.height == window->screen->height) + attrs.x == 0 && attrs.y == 0 && + attrs.width == window->screen->width && + attrs.height == window->screen->height) window->maximized = TRUE; update_mwm_hints (window);