projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e41034
)
e_dnd: fix use of uninitialized value
94/317294/1
author
Junseok Kim
<juns.kim@samsung.com>
Mon, 30 Dec 2024 05:27:47 +0000
(14:27 +0900)
committer
JunSeok Kim
<juns.kim@samsung.com>
Mon, 30 Dec 2024 05:54:17 +0000
(
05:54
+0000)
Change-Id: Ifb19e041ca80ffa070693ce6000471f6eadc57c8
src/bin/windowmgr/e_dnd.c
patch
|
blob
|
history
diff --git
a/src/bin/windowmgr/e_dnd.c
b/src/bin/windowmgr/e_dnd.c
index 4b91b2289058d830aa8213530f011da646514c9d..074626c7b721cf78021345eb597a9ace5f63a021 100644
(file)
--- a/
src/bin/windowmgr/e_dnd.c
+++ b/
src/bin/windowmgr/e_dnd.c
@@
-239,6
+239,7
@@
e_drag_move(E_Drag *drag, int x, int y)
new_x = x + drag->dx;
new_y = y + drag->dy;
+ e_view_edje_geometry_get(drag->comp_edje, &cur_x, &cur_y, NULL, NULL);
if (e_client_transform_core_enable_get(ec))
{
e_client_transform_core_input_transform(ec, new_x, new_y, &trans_x, &trans_y);
@@
-246,7
+247,6
@@
e_drag_move(E_Drag *drag, int x, int y)
}
else
{
- e_view_edje_geometry_get(drag->comp_edje, &cur_x, &cur_y, NULL, NULL);
if ((cur_x == new_x) && (cur_y == new_y)) return;
}