diff --git a/src/modules/conf_randr/e_smart_monitor.c b/src/modules/conf_randr/e_smart_monitor.c index 94da1e631..0ef6eaed2 100644 --- a/src/modules/conf_randr/e_smart_monitor.c +++ b/src/modules/conf_randr/e_smart_monitor.c @@ -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 */