projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc6ae8b
)
Fix for overlapping xinerama screens.
author
sebastid
<sebastid>
Sun, 13 Feb 2005 11:36:19 +0000
(11:36 +0000)
committer
sebastid
<sebastid@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 13 Feb 2005 11:36:19 +0000
(11:36 +0000)
SVN revision: 13350
src/bin/e_container.c
patch
|
blob
|
history
diff --git
a/src/bin/e_container.c
b/src/bin/e_container.c
index
9e97c13
..
e6e292a
100644
(file)
--- a/
src/bin/e_container.c
+++ b/
src/bin/e_container.c
@@
-90,9
+90,25
@@
e_container_new(E_Manager *man)
for (i = 0; i < n; i++)
{
int zx, zy, zw, zh;
+ int skip;
+ Evas_List *l;
if (ecore_x_xinerama_screen_geometry_get(i, &zx, &zy, &zw, &zh))
- zone = e_zone_new(con, zx, zy, zw, zh);
+ {
+ skip = 0;
+ for (l = con->zones; l; l = l->next)
+ {
+ zone = l->data;
+ if (E_INTERSECTS(zone->x, zone->y, zone->w, zone->h,
+ zx, zy, zw, zh))
+ {
+ skip = 1;
+ break;
+ }
+ }
+ if (!skip)
+ zone = e_zone_new(con, zx, zy, zw, zh);
+ }
}
}