diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2013-12-04 23:09:12 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2013-12-04 23:09:12 -0500 |
commit | ed6bfb1955874b5e7d4893af4265242e82b87e0b (patch) | |
tree | 0c6c37db963a9f4f9478a63ca499f57cff6aadf0 | |
parent | c49d5eea961bc227b53c061392f98f605ebb9453 (diff) | |
download | enlightenment-ed6bfb1955874b5e7d4893af4265242e82b87e0b.tar.gz |
subtract zone position from initial gadcon client drag coordinates
T369
-rw-r--r-- | src/bin/e_gadcon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/e_gadcon.c b/src/bin/e_gadcon.c index 67cb34ea74..8e6b44e3a7 100644 --- 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->dx); - gcc->drag.y = (y - gcc->dy); + gcc->drag.x = x - (gcc->dx + gx); + gcc->drag.y = y - (gcc->dy + gy); gcc->state_info.resist = 0; } |