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:
c49d5ee
)
subtract zone position from initial gadcon client drag coordinates
author
Mike Blumenkrantz
<zmike@samsung.com>
Thu, 5 Dec 2013 04:09:12 +0000
(23:09 -0500)
committer
Mike Blumenkrantz
<zmike@samsung.com>
Thu, 5 Dec 2013 04:09:12 +0000
(23:09 -0500)
T369
src/bin/e_gadcon.c
patch
|
blob
|
history
diff --git
a/src/bin/e_gadcon.c
b/src/bin/e_gadcon.c
index
67cb34e
..
8e6b44e
100644
(file)
--- a/
src/bin/e_gadcon.c
+++ b/
src/bin/e_gadcon.c
@@
-2540,8
+2540,8
@@
_e_gadcon_client_move_start(E_Gadcon_Client *gcc)
return;
/* using drag pos to calc offset between pointer and gcc pos */
- gcc->drag.x =
(x - gcc->d
x);
- gcc->drag.y =
(y - gcc->d
y);
+ gcc->drag.x =
x - (gcc->dx + g
x);
+ gcc->drag.y =
y - (gcc->dy + g
y);
gcc->state_info.resist = 0;
}