mirror of
https://github.com/brl/mutter.git
synced 2025-07-22 17:41:50 +00:00
automaximize: Make it optional
Make automaximize optional by adding a gsetting "auto-maximize" (defaults to true). https://bugzilla.gnome.org/show_bug.cgi?id=680990
This commit is contained in:
@ -3020,7 +3020,7 @@ meta_window_show (MetaWindow *window)
|
||||
|
||||
if (!window->placed)
|
||||
{
|
||||
if (window->showing_for_first_time && window->has_maximize_func)
|
||||
if (meta_prefs_get_auto_maximize() && 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);
|
||||
|
Reference in New Issue
Block a user