princeamd pushed a commit to branch enlightenment-0.17.

commit 0b4d3e059f1cea29fcce14ad5ea7d0db6dbef2dd
Author: Christopher Michael <[email protected]>
Date:   Tue Feb 19 10:59:17 2013 +0000

    Backport: 132719c :: Correctly calculate disabled monitor position(s).
    
    Signed-off-by: Christopher Michael <[email protected]>
    
    SVN revision: 84202
    Signed-off-by: Deon Thomas <[email protected]>
---
 src/modules/conf_randr/e_smart_randr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/conf_randr/e_smart_randr.c 
b/src/modules/conf_randr/e_smart_randr.c
index 40d7e65..1190178 100644
--- a/src/modules/conf_randr/e_smart_randr.c
+++ b/src/modules/conf_randr/e_smart_randr.c
@@ -175,6 +175,7 @@ e_smart_randr_monitors_create(Evas_Object *obj)
    Ecore_X_Randr_Crtc *crtcs;
    int ncrtcs = 0;
    Evas_Coord gx = 0, gy = 0, gw = 0, gh = 0;
+   Evas_Coord nx = 0;
 
    LOGFN(__FILE__, __LINE__, __FUNCTION__);
 
@@ -255,7 +256,6 @@ e_smart_randr_monitors_create(Evas_Object *obj)
                {
                   Evas_Object *mon;
                   Ecore_X_Randr_Output output;
-                  static Evas_Coord nx = 0;
 
                   /* for each output, try to create a monitor */
                   if (!(mon = e_smart_monitor_add(evas)))
@@ -280,7 +280,7 @@ e_smart_randr_monitors_create(Evas_Object *obj)
 
                        /* get the size of the largest mode */
                        ecore_x_randr_mode_size_get(root, modes[0], &mw, &mh);
-                       /* printf("\t\t\tOutput Size: %d %d\n", mw, mh); */
+                       /* printf("\t\t\t\tOutput Size: %d %d\n", mw, mh); */
 
                        /* free any allocated memory from ecore_x_randr */
                        free(modes);

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to