forked from enlightenment/enlightenment
parent
89ace85ded
commit
6f8d4803ed
|
@ -107,7 +107,6 @@ e_config_randr_dialog_subdialog_arrangement_basic_create_widgets(Evas *canvas)
|
|||
e_config_runtime_info->gui.subdialogs.arrangement.clipper = evas_object_smart_clipped_clipper_get(subdialog);
|
||||
fprintf(stderr, "CONF_RANDR: Arrangement subdialog added (%p).\n", subdialog);
|
||||
|
||||
|
||||
//only use information we can restore.
|
||||
EINA_LIST_FOREACH(e_config_runtime_info->output_dialog_data_list, iter, output_dialog_data)
|
||||
{
|
||||
|
@ -122,7 +121,6 @@ e_config_randr_dialog_subdialog_arrangement_basic_create_widgets(Evas *canvas)
|
|||
evas_object_event_callback_add (crtc, EVAS_CALLBACK_MOUSE_MOVE, _e_config_randr_dialog_subdialog_arrangement_output_mouse_move_cb, NULL);
|
||||
evas_object_event_callback_add (crtc, EVAS_CALLBACK_MOUSE_UP, _e_config_randr_dialog_subdialog_arrangement_output_mouse_up_cb, NULL);
|
||||
|
||||
|
||||
evas_object_smart_member_add(crtc, subdialog);
|
||||
fprintf(stderr, "CONF_RANDR: CRTC representation (%p) added to arrangement subdialog (%p).\n", crtc, subdialog);
|
||||
}
|
||||
|
@ -379,7 +377,6 @@ _e_config_randr_dialog_subdialog_arrangement_output_mouse_up_cb (void *data __UN
|
|||
{
|
||||
evas_object_move(obj, e_config_runtime_info->gui.subdialogs.arrangement.previous_pos.x, e_config_runtime_info->gui.subdialogs.arrangement.previous_pos.y);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -497,10 +494,8 @@ _e_config_randr_dialog_subdialog_arrangement_make_suggestion (Evas_Object *obj)
|
|||
s_geo.y = (crtc_geo.y + crtc_geo.h - s_geo.h);
|
||||
dya = tmp;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
if ((s_geo.x != geo.x) && (s_geo.y != geo.y))
|
||||
{
|
||||
if (s_geo.x < p_geo.x) s_geo.x = p_geo.x;
|
||||
|
@ -803,3 +798,4 @@ e_config_randr_dialog_subdialog_arrangement_discard_changes(E_Config_Dialog_Data
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue