projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0f3716
)
DnD: rotate the dragwin of the user icon according to the rotation of
author
Daniel Zaoui
<daniel.zaoui@samsung.com>
Fri, 28 Jun 2013 08:14:46 +0000
(11:14 +0300)
committer
Daniel Zaoui
<daniel.zaoui@samsung.com>
Fri, 28 Jun 2013 08:15:59 +0000
(11:15 +0300)
the main win.
legacy/elementary/src/lib/elm_cnp.c
patch
|
blob
|
history
diff --git
a/legacy/elementary/src/lib/elm_cnp.c
b/legacy/elementary/src/lib/elm_cnp.c
index
035d8e7
..
604afb9
100644
(file)
--- a/
legacy/elementary/src/lib/elm_cnp.c
+++ b/
legacy/elementary/src/lib/elm_cnp.c
@@
-1983,6
+1983,11
@@
_x11_elm_drag_start(Evas_Object *obj, Elm_Sel_Format format, const char *data,
elm_win_alpha_set(dragwin, EINA_TRUE);
elm_win_override_set(dragwin, EINA_TRUE);
+ /* dragwin has to be rotated as the main window is */
+ Evas_Object *win = elm_widget_top_get(obj);
+ if (win && eo_isa(win, ELM_OBJ_WIN_CLASS))
+ elm_win_rotation_set(dragwin, elm_win_rotation_get(win));
+
if (createicon)
{
Evas_Coord xoff = 0, yoff = 0;