git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@65495
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
edje_object_size_min_restricted_calc(tt->tooltip, &tw, &th, ominw, ominh);
edje_object_size_min_restricted_calc(tt->tooltip, &tw, &th, ominw, ominh);
-#ifdef HAVE_ELEMENTARY_X
- {
- xwin = elm_win_xwindow_get(elm_object_top_widget_get(tt->owner));
- if (xwin)
- {
- xwin = ecore_x_window_root_get(xwin);
- ecore_x_randr_screen_current_size_get(xwin, &cw, &ch, NULL, NULL);
- }
- }
+ elm_win_screen_size_get(elm_object_top_widget_get(tt->owner), &cw, &ch, NULL, NULL);
evas_output_size_get(tt->tt_evas ?: tt->evas, &cw, &ch);
evas_object_geometry_get(tt->eventarea, &ox, &oy, &ow, &oh);
evas_output_size_get(tt->tt_evas ?: tt->evas, &cw, &ch);
evas_object_geometry_get(tt->eventarea, &ox, &oy, &ow, &oh);