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:
Daniel Juyung Seo 2011-07-14 01:33:29 +00:00
parent 680c3eb7ac
commit 52595240fd
1 changed files with 2 additions and 2 deletions

View File

@ -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;
// <--