mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
Don't try to auto-maximize not-maximizable windows
Starting the auto-maximize process on a window like a META_WINDOW_DESKTOP window that is not maximizable gets placement into a confused state and eventually results in the window being positioned at the wrong position (the position that an auto-maximized window would be restored to.) https://bugzilla.gnome.org/show_bug.cgi?id=673566
This commit is contained in:
parent
b19c061db5
commit
93d06d4368
@ -3018,7 +3018,7 @@ meta_window_show (MetaWindow *window)
|
||||
|
||||
if (!window->placed)
|
||||
{
|
||||
if (window->showing_for_first_time)
|
||||
if (window->showing_for_first_time && window->has_maximize_func)
|
||||
{
|
||||
MetaRectangle work_area;
|
||||
meta_window_get_work_area_for_monitor (window, window->monitor->number, &work_area);
|
||||
|
Loading…
Reference in New Issue
Block a user