summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <devilhorns@comcast.net>2013-08-02 17:06:55 +0100
committerDeon Thomas <PrinceAMD.Elive@gmail.com>2013-08-02 12:17:45 -0400
commitf15b2eda9d7c80161ce00ae6ad8c6e88f44ad9dc (patch)
tree9824efdad86c44899d289c010fd39ab89fbf689c
parent455fe96f664cecda18b880252ecb2f2674886b63 (diff)
Backport: 112a409 :: When we have to calculate screen size, it May actually Help to get the crtc id that we need to fetch values for.
NB: Phab Ticket T258 NB: /me slaps self Signed-off-by: Chris Michael <devilhorns@comcast.net> Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
-rw-r--r--src/bin/e_randr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_randr.c b/src/bin/e_randr.c
index d1edbe465..0386a50de 100644
--- a/src/bin/e_randr.c
+++ b/src/bin/e_randr.c
@@ -1178,6 +1178,8 @@ _e_randr_config_screen_size_calculate(int *sw, int *sh)
1178 { 1178 {
1179 Ecore_X_Randr_Crtc crtc = 0; 1179 Ecore_X_Randr_Crtc crtc = 0;
1180 1180
1181 crtc = ecore_x_randr_output_crtc_get(root, outputs[i]);
1182
1181#if ((ECORE_VERSION_MAJOR >= 1) && (ECORE_VERSION_MINOR >= 8)) 1183#if ((ECORE_VERSION_MAJOR >= 1) && (ECORE_VERSION_MINOR >= 8))
1182 Ecore_X_Randr_Crtc_Info *cinfo; 1184 Ecore_X_Randr_Crtc_Info *cinfo;
1183 1185