From 65398660e51cd811f3be8fa0d592b34fc727973f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 24 Aug 2011 21:53:58 +0000 Subject: [PATCH] When passing drag on to it's bw, we don't need to do anything if the drag is for the current bw. svn path=/trunk/netsurf/; revision=12666 --- desktop/browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/browser.c b/desktop/browser.c index 21d900f11..0d73605c2 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -1866,7 +1866,7 @@ void browser_window_mouse_track(struct browser_window *bw, if (bw->window != NULL) { /* root browser window */ - if (bw->drag_window) { + if (bw->drag_window && bw != bw->drag_window) { /* There's an active drag in a sub window. * Pass the mouse action straight on to that bw. */ int off_x = 0;