forked from enlightenment/enlightenment
E (RandR): Use e_layout_child_geometry_get for rotate snap.
SVN revision: 77275
This commit is contained in:
parent
4f02f86438
commit
0ab246155d
|
@ -958,8 +958,8 @@ _e_smart_monitor_rotate_snap(Evas_Object *obj)
|
|||
|
||||
if (!(sd = evas_object_smart_data_get(obj))) return;
|
||||
|
||||
evas_object_geometry_get(obj, NULL, NULL, &w, &h);
|
||||
e_layout_coord_canvas_to_virtual(sd->o_layout, w, h, &nw, &nh);
|
||||
/* get the object geometry */
|
||||
e_layout_child_geometry_get(obj, NULL, NULL, &nw, &nh);
|
||||
|
||||
if ((sd->orientation == ECORE_X_RANDR_ORIENTATION_ROT_90) ||
|
||||
(sd->orientation == ECORE_X_RANDR_ORIENTATION_ROT_270))
|
||||
|
|
Loading…
Reference in New Issue