E (RandR): Setup defaults before we assign output & crtc.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77882
This commit is contained in:
Christopher Michael 2012-10-11 13:51:39 +00:00 committed by Christopher Michael
parent c9edc0c734
commit 62644089e9
1 changed files with 6 additions and 6 deletions

View File

@ -234,12 +234,6 @@ e_smart_monitor_info_set(Evas_Object *obj, E_Randr_Output_Info *output, E_Randr_
if (!(sd = evas_object_smart_data_get(obj)))
return;
/* set output of this monitor */
sd->output = output;
/* set crtc of this monitor */
sd->crtc = crtc;
/* set some defaults */
sd->orig.orientation = ECORE_X_RANDR_ORIENTATION_ROT_0;
sd->orig.refresh_rate = 0;//60.0;
@ -248,6 +242,12 @@ e_smart_monitor_info_set(Evas_Object *obj, E_Randr_Output_Info *output, E_Randr_
sd->orig.y = 0;
sd->orig.enabled = EINA_FALSE;
/* set output of this monitor */
sd->output = output;
/* set crtc of this monitor */
sd->crtc = crtc;
if (crtc)
{
/* set original orientation */