Give those iconbars some resistance. Nice for lining up windows along the edge of, but not hiding, the iconbar. If a bit named Resist with class Decoration (so it passes events) is added to the .e_iconbar.bits.db, windows will resist the edges of it. I'll commit an updated default one.

SVN revision: 5806
This commit is contained in:
rephorm 2002-01-04 03:19:26 +00:00 committed by rephorm
parent ee21c21b85
commit e8adca84c5
1 changed files with 7 additions and 1 deletions

View File

@ -47,7 +47,13 @@ rects = evas_list_append(rects, r); \
OBSTACLE(b->desk->real.w, -1000000, 1000000, 2000000 + b->desk->real.h, desk_resist);
/* can add code here to add more fake obstacles with custom resist values */
/* here if need be - ie xinerama middle between screens and panels etc. */
{
E_View *v;
if (b->desk->view->iconbar)
evas_list_append(rects, e_iconbar_get_resist_rect(b->desk->view->iconbar));
}
for (l = b->desk->windows; l; l = l->next)
{
E_Border *bd;