From: <enl...@li...> - 2001-09-25 22:11:04
|
Enlightenment CVS committal Author : rbdpngn Project : e17 Module : apps/e Dir : e17/apps/e/src Modified Files: border.c Log Message: Enabled the Alt-Tab action, and fixed border.c so that the action works correctly. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/border.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -3 -r1.33 -r1.34 --- border.c 2001/09/25 16:37:00 1.33 +++ border.c 2001/09/25 22:10:33 1.34 @@ -2360,16 +2360,16 @@ 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 @@ else next = borders; + /* Now find the next viewable border on the same desktop */ current = (E_Border *)next->data; while (next && !e_border_viewable(current)) { |