mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
...
This commit is contained in:
parent
7d79a37c9d
commit
3650c23055
12
src/place.c
12
src/place.c
@ -116,8 +116,16 @@ find_next_cascade (MetaWindow *window,
|
|||||||
/* arbitrary-ish threshold, honors user attempts to
|
/* arbitrary-ish threshold, honors user attempts to
|
||||||
* manually cascade.
|
* manually cascade.
|
||||||
*/
|
*/
|
||||||
x_threshold = MAX (fgeom->left_width, 10);
|
if (fgeom)
|
||||||
y_threshold = MAX (fgeom->top_height, 10);
|
{
|
||||||
|
x_threshold = MAX (fgeom->left_width, 10);
|
||||||
|
y_threshold = MAX (fgeom->top_height, 10);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
x_threshold = 10;
|
||||||
|
y_threshold = 10;
|
||||||
|
}
|
||||||
|
|
||||||
tmp = sorted;
|
tmp = sorted;
|
||||||
while (tmp != NULL)
|
while (tmp != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user