discomfitor pushed a commit to branch master.
commit 219e197220a22b2ad389b9952fe24d572ff92b31
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Jun 10 06:18:12 2013 +0100
fix e_win dnd coord calcs
---
src/bin/e_dnd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c
index 9b5be89..c2e99c3 100644
--- a/src/bin/e_dnd.c
+++ b/src/bin/e_dnd.c
@@ -630,8 +630,8 @@ _e_drag_coords_update(const E_Drop_Handler *h, int *dx, int
*dy)
break;
case E_WIN_TYPE:
- px = ((E_Win *)(h->obj))->x;
- py = ((E_Win *)(h->obj))->y;
+ px = ((E_Win *)(h->obj))->border->x;
+ py = ((E_Win *)(h->obj))->border->y;
break;
case E_ZONE_TYPE:
--
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j