Hello
I think i found a solution for the problem with wrong assigned screens using 
xinerama (details in my previous mail).
I just take in account not only the size of screens, but also a position (k-s 
point me that).
please review that patch and commit if it is ok...

regards,
manio
jabber/e-mail: ma...@skyboo.net
http://manio.skyboo.net


Index: trunk/e/src/bin/e_xinerama.c
===================================================================
--- e_xinerama.c	(revision 40555)
+++ e_xinerama.c	(working copy)
@@ -211,7 +211,12 @@
 
    scr = data1;
    scr2 = data2;
-   dif = (scr2->w * scr2->h) - (scr->w * scr->h);
-   if (dif == 0) return scr->screen - scr2->screen;
+   if (scr2->x != scr->x)
+     return scr2->x - scr->x;
+   else
+     {
+       dif = (scr2->w * scr2->h) - (scr->w * scr->h);
+       if (dif == 0) return scr->screen - scr2->screen;
+     }
    return dif;
 }
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to