raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=adf5b5dc8464887466dd9a17165dd595ff15d571

commit adf5b5dc8464887466dd9a17165dd595ff15d571
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Wed Feb 11 21:45:39 2015 +0900

    e - remove earns from randr2
    
    for wahetever reason i dont get warnings from gcc:
    
    -Wno-shadow -Wno-unused-but-set-parameter -Wno-clobbered -W -Wall -Wextra
    
    are the warning flags i get and i simplt dont get a tonne like using
    uninitialized var. don't know why.
---
 src/bin/e_randr2.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bin/e_randr2.c b/src/bin/e_randr2.c
index 3db8959..bc8b212 100644
--- a/src/bin/e_randr2.c
+++ b/src/bin/e_randr2.c
@@ -1446,7 +1446,7 @@ _screen_config_apply(void)
      {
         int dww = 0, dhh = 0, dww2 = 0, dhh2 = 0;
         ecore_x_randr_screen_current_size_get(root, &dww, &dhh, &dww2, &dhh2);
-        printf("RRR: cur size: %ix%i\n", ww, hh);
+        printf("RRR: cur size: %ix%i\n", dww, dhh);
      }
    printf("RRR: size range: %ix%i -> %ix%i\n", minw, minh, maxw, maxh);
    if (nw > maxw) nw = maxw;
@@ -1459,7 +1459,7 @@ _screen_config_apply(void)
      {
         int dww = 0, dhh = 0, dww2 = 0, dhh2 = 0;
         ecore_x_randr_screen_current_size_get(root, &dww, &dhh, &dww2, &dhh2);
-        printf("RRR: cur size: %ix%i\n", ww, hh);
+        printf("RRR: cur size: %ix%i\n", dww, dhh);
      }
    printf("RRR: set vsize: %ix%i\n", nw, nh);
 
@@ -1589,8 +1589,8 @@ _screen_config_apply(void)
 //        ecore_x_randr_screen_reset(root);
 //        ecore_x_randr_screen_current_size_set(root, nw, nh, -1, -1);
 //        ecore_x_sync();
-//        ecore_x_randr_screen_current_size_get(root, &ww, &hh, &ww2, &hh2);
-//        printf("RRR: cur size: %ix%i\n", ww, hh);
+//        ecore_x_randr_screen_current_size_get(root, &dww, &dhh, &dww2, 
&dhh2);
+//        printf("RRR: cur size: %ix%i\n", dww,d hh);
      }
    ecore_x_randr_screen_size_range_get(root, NULL, NULL, NULL, NULL);
    ecore_x_ungrab();

-- 


Reply via email to