I have nVidia card with twinview configured (first display right of
second). Only half of "default.edj" theme is displayed (on the right of
the first screen). After some investigations I've found, that in
window_resize_cb "ui" object is resized to the whole screen size,
instead of display size. What do you think about my solution (see
attachement)?
С уважением, Антон
--- a/e17/apps/entrance/src/client/main.c 2007-09-27 12:40:38.000000000 +0400
+++ b/e17/apps/entrance/src/client/main.c 2007-09-26 16:42:17.000000000 +0400
@@ -147,14 +147,21 @@
int screens, i;
char buf[50];
- ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
-
- if ((o = evas_object_name_find(ecore_evas_get(ee), "ui")))
- evas_object_resize(o, w, h);
screens = ecore_x_xinerama_screen_count_get();
if (!screens)
screens = 1;
+ if (screens > 1)
+ {
+ int sx, sy;
+ ecore_x_xinerama_screen_geometry_get(0, &sx, &sy, &w, &h);
+ }
+ else
+ ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
+
+ if ((o = evas_object_name_find(ecore_evas_get(ee), "ui")))
+ evas_object_resize(o, w, h);
+
for (i = 0; i < screens; i++)
{
snprintf(buf, sizeof(buf), "background%d", i);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel