forked from enlightenment/enlightenment
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:
parent
c9edc0c734
commit
62644089e9
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue