diff --git a/src/modules/conf_randr/e_smart_monitor.c b/src/modules/conf_randr/e_smart_monitor.c index 3e932a2ae..432ffbbfd 100644 --- a/src/modules/conf_randr/e_smart_monitor.c +++ b/src/modules/conf_randr/e_smart_monitor.c @@ -155,10 +155,8 @@ e_smart_monitor_output_set(Evas_Object *obj, Ecore_X_Randr_Output output) /* get the largest mode */ mode = eina_list_last_data_get(sd->modes); - mw = mode->width; - mh = mode->height; - aw = mw; - ah = mh; + aw = mw = mode->width; + ah = mh = mode->height; sd->max.mode_width = mw; sd->max.mode_height = mh;