Enabled the Alt-Tab action, and fixed border.c so that the action works

correctly.


SVN revision: 5377
This commit is contained in:
rbdpngn 2001-09-25 22:10:33 +00:00 committed by rbdpngn
parent 1e810437ae
commit 115592b91e
2 changed files with 5 additions and 4 deletions

View File

@ -2360,16 +2360,16 @@ e_border_viewable(E_Border *b)
if (b->desk != e_desktops_get(e_desktops_get_current()))
return 0;
if (b->current.x + b->current.w < b->desk->x)
if (b->current.x + b->current.w <= 0)
return 0;
if (b->current.x > b->desk->x + b->desk->real.w)
if (b->current.x >= b->desk->real.w)
return 0;
if (b->current.y + b->current.h < b->desk->y)
if (b->current.y + b->current.h <= 0)
return 0;
if (b->current.y > b->desk->y + b->desk->real.h)
if (b->current.y >= b->desk->real.h)
return 0;
return 1;
@ -2401,6 +2401,7 @@ e_border_raise_next(void)
else
next = borders;
/* Now find the next viewable border on the same desktop */
current = (E_Border *)next->data;
while (next && !e_border_viewable(current))
{