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)
downloadenlightenment-f15b2eda9d7c80161ce00ae6ad8c6e88f44ad9dc.tar.gz
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 d1edbe465f..0386a50de6 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)
{
Ecore_X_Randr_Crtc crtc = 0;
+ crtc = ecore_x_randr_output_crtc_get(root, outputs[i]);
+
#if ((ECORE_VERSION_MAJOR >= 1) && (ECORE_VERSION_MINOR >= 8))
Ecore_X_Randr_Crtc_Info *cinfo;