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>
This commit is contained in:
Chris Michael 2013-08-02 17:06:55 +01:00 committed by Deon Thomas
parent 455fe96f66
commit f15b2eda9d
1 changed files with 2 additions and 0 deletions

View File

@ -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;