From adf5b5dc8464887466dd9a17165dd595ff15d571 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Wed, 11 Feb 2015 21:45:39 +0900 Subject: [PATCH] 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 3db8959b5..bc8b21216 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();