forked from enlightenment/enlightenment
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:
parent
ee21c21b85
commit
e8adca84c5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue