summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2008-09-19 23:59:29 +0000
committerCarsten Haitzler <raster@rasterman.com>2008-09-19 23:59:29 +0000
commitfbd7fa6a174867a8520aa7f34d3a2262a0994c94 (patch)
tree82587bebb1ab38d0d821618ffd6c5c3a780967c5 /src
parent2d9dd3ea3769d8dc9e1b8ee2b114acf4d1dd8594 (diff)
downloadenlightenment-fbd7fa6a174867a8520aa7f34d3a2262a0994c94.tar.gz
remove debugging i added to fix dnd.
SVN revision: 36104
Diffstat (limited to 'src')
-rw-r--r--src/bin/e_dnd.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c
index 8168d7635c..c1e8f8f50d 100644
--- a/src/bin/e_dnd.c
+++ b/src/bin/e_dnd.c
@@ -612,6 +612,8 @@ _e_drag_coords_update(E_Drop_Handler *h, int *dx, int *dy, int *dw, int *dh)
py = ((E_Win *)(h->obj))->y;
break;
case E_ZONE_TYPE:
+// zone based drag targets are in a container thus their coords should be
+// screen-relative as containers just cover the screen
// px = ((E_Zone *)(h->obj))->x;
// py = ((E_Zone *)(h->obj))->y;
break;
@@ -630,7 +632,6 @@ _e_drag_coords_update(E_Drop_Handler *h, int *dx, int *dy, int *dw, int *dh)
}
*dx += px;
*dy += py;
- printf("T: %x | dx = %i dy = %i\n", h->obj->type, *dx, *dy);
}
static Ecore_X_Window
@@ -774,7 +775,6 @@ _e_drag_update(Ecore_X_Window root, int x, int y, Ecore_X_Atom action)
if (_drag_current)
{
- printf("--\n");
for (l = _drop_handlers; l; l = l->next)
{
E_Drop_Handler *h;
@@ -792,11 +792,6 @@ _e_drag_update(Ecore_X_Window root, int x, int y, Ecore_X_Atom action)
leave_ev.x = x - dx;
leave_ev.y = y - dy;
- int inside, matches;
-
- inside = E_INSIDE(x, y, dx, dy, dw, dh);
- matches = _e_drag_win_matches(h, win, 0);
- printf(" inside = %i, matches = %i\n", inside, matches);
if (E_INSIDE(x, y, dx, dy, dw, dh) &&
_e_drag_win_matches(h, win, 0))
{
@@ -814,7 +809,6 @@ _e_drag_update(Ecore_X_Window root, int x, int y, Ecore_X_Atom action)
}
else
enter_ev.data = _drag_current->data;
- printf("ENTER!\n");
h->cb.enter(h->cb.data, h->active_type, &enter_ev);
}
h->entered = 1;