mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
use maximize_after_placement to automaximize in meta_window_place; avoids
2003-11-07 Rob Adams <readams@readams.net> * src/place.c (meta_window_place): use maximize_after_placement to automaximize in meta_window_place; avoids a problem with not recalculating the frame geometry after auto-maximizing.
This commit is contained in:
parent
17dc2d6151
commit
66b2e8bc3f
@ -1,3 +1,9 @@
|
|||||||
|
2003-11-07 Rob Adams <readams@readams.net>
|
||||||
|
|
||||||
|
* src/place.c (meta_window_place): use maximize_after_placement to
|
||||||
|
automaximize in meta_window_place; avoids a problem with not
|
||||||
|
recalculating the frame geometry after auto-maximizing.
|
||||||
|
|
||||||
2003-11-07 Rob Adams <readams@readams.net>
|
2003-11-07 Rob Adams <readams@readams.net>
|
||||||
|
|
||||||
* src/window.c (window_should_be_showing): show the window if it's
|
* src/window.c (window_should_be_showing): show the window if it's
|
||||||
|
@ -835,9 +835,7 @@ meta_window_place (MetaWindow *window,
|
|||||||
if (outer.width >= workarea.width &&
|
if (outer.width >= workarea.width &&
|
||||||
outer.height >= workarea.height)
|
outer.height >= workarea.height)
|
||||||
{
|
{
|
||||||
outer.x = x;
|
window->maximize_after_placement = TRUE;
|
||||||
outer.y = y;
|
|
||||||
meta_window_maximize_internal (window, &outer);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user