From 112a4091c474c2e79bcc23d32e5e818278631122 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Fri, 2 Aug 2013 17:06:55 +0100 Subject: [PATCH] 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 --- src/bin/e_randr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/e_randr.c b/src/bin/e_randr.c index e0b8698ce..a351e0822 100644 --- a/src/bin/e_randr.c +++ b/src/bin/e_randr.c @@ -1213,6 +1213,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;