From d9c1da31dffc1b4d628e002f942552b11b165787 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Tue, 13 Nov 2007 23:30:07 +0000 Subject: [PATCH] check window as well during drag upates. nb - xdnd in e is hell slow! :( SVN revision: 32671 --- 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 33bbc5ec8..47edf58ca 100644 --- a/src/bin/e_dnd.c +++ b/src/bin/e_dnd.c @@ -692,7 +692,7 @@ _e_drag_update(Ecore_X_Window root, int x, int y) move_ev.y = y - dy; leave_ev.x = x - dx; leave_ev.y = y - dy; - if (E_INSIDE(x, y, dx, dy, dw, dh)) + if (E_INSIDE(x, y, dx, dy, dw, dh) && _e_drag_win_matches(h, win)) { if (!h->entered) { @@ -740,7 +740,7 @@ _e_drag_update(Ecore_X_Window root, int x, int y) move_ev.y = y - dy; leave_ev.x = x - dx; leave_ev.y = y - dy; - if (E_INSIDE(x, y, dx, dy, dw, dh)) + if (E_INSIDE(x, y, dx, dy, dw, dh) && _e_drag_win_matches(h, win)) { if (!h->entered) {