check window as well during drag upates.

nb - xdnd in e is hell slow! :(


SVN revision: 32671
This commit is contained in:
Carsten Haitzler 2007-11-13 23:30:07 +00:00
parent 23ea7a7a11
commit d9c1da31df
1 changed files with 2 additions and 2 deletions

View File

@ -692,7 +692,7 @@ _e_drag_update(Ecore_X_Window root, int x, int y)
move_ev.y = y - dy; move_ev.y = y - dy;
leave_ev.x = x - dx; leave_ev.x = x - dx;
leave_ev.y = y - dy; 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) if (!h->entered)
{ {
@ -740,7 +740,7 @@ _e_drag_update(Ecore_X_Window root, int x, int y)
move_ev.y = y - dy; move_ev.y = y - dy;
leave_ev.x = x - dx; leave_ev.x = x - dx;
leave_ev.y = y - dy; 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) if (!h->entered)
{ {