was incorrectly using the width for calculations instead of the height in client_find_onscreen
This commit is contained in:
parent
9ac1099e14
commit
fd8af998ea
1 changed files with 1 additions and 1 deletions
|
@ -1003,7 +1003,7 @@ gboolean client_find_onscreen(ObClient *self, gint *x, gint *y, gint w, gint h,
|
||||||
if (!self->strut.left && *x + fw*9/10 - 1 < a->x)
|
if (!self->strut.left && *x + fw*9/10 - 1 < a->x)
|
||||||
*x = a->x - fw*9/10;
|
*x = a->x - fw*9/10;
|
||||||
if (!self->strut.top && *y + fh*9/10 - 1 < a->y)
|
if (!self->strut.top && *y + fh*9/10 - 1 < a->y)
|
||||||
*y = a->y - fw*9/10;
|
*y = a->y - fh*9/10;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This here doesn't let windows even a pixel outside the
|
/* This here doesn't let windows even a pixel outside the
|
||||||
|
|
Loading…
Reference in a new issue