forked from enlightenment/enlightenment
e17 e_border.c: Fixed popup position issue. Closed ticket #627. I
tested it and it works fine. Thanks Jim Duchek! by Jim Duchek <jim.duchek@…> After adding a fourth monitor (above my center one) this bug became utterly unbearable, as it started putting every popup on the bottom of screens 1-3 as well as to the right on screens 2-4. Anyway, attached is a patch -- it's a fairly obvious logic error. SVN revision: 61352
This commit is contained in:
parent
680c3eb7ac
commit
52595240fd
|
@ -7392,10 +7392,10 @@ _e_border_eval(E_Border *bd)
|
|||
if (bd->y < zy)
|
||||
bd->y = zy;
|
||||
|
||||
if (bd->x + bd->w > zw)
|
||||
if (bd->x + bd->w > zx + zw)
|
||||
bd->x = zx + zw - bd->w;
|
||||
|
||||
if (bd->y + bd->h > zh)
|
||||
if (bd->y + bd->h > zy + zh)
|
||||
bd->y = zy + zh - bd->h;
|
||||
// <--
|
||||
|
||||
|
|
Loading…
Reference in New Issue