constraints: Don't early out of custom rule if window can't fit
Still go through the rules. For example a tall menu might still be positioned better, and/or shrunk to a better size if applicable. https://bugzilla.gnome.org/show_bug.cgi?id=771297
This commit is contained in:
parent
5774fcdd80
commit
2ed7ca5b6a
@ -784,10 +784,6 @@ constrain_custom_rule (MetaWindow *window,
|
|||||||
if (!placement_rule)
|
if (!placement_rule)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
if (!meta_rectangle_could_fit_rect (&info->work_area_monitor,
|
|
||||||
&info->current))
|
|
||||||
return TRUE;
|
|
||||||
|
|
||||||
meta_rectangle_intersect (&info->current, &info->work_area_monitor,
|
meta_rectangle_intersect (&info->current, &info->work_area_monitor,
|
||||||
&intersection);
|
&intersection);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user