From a47dff15ddb9606c6c07b0c68cb83d6dbc254a92 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 24 Aug 2011 18:22:22 +0000 Subject: Improve browser window drag tracking, so that drags in internal browser windows (iframes) carry on if pointer goes outside the bw that owns the drag. svn path=/trunk/netsurf/; revision=12663 --- desktop/browser.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'desktop/browser.h') diff --git a/desktop/browser.h b/desktop/browser.h index 9ed5d6f92..04181bb8e 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -104,6 +104,9 @@ struct browser_window { /** Current drag status. */ browser_drag_type drag_type; + /** Current drag's browser window, when not in root bw. */ + struct browser_window *drag_window; + /** Mouse position at start of current scroll drag. */ int drag_start_x; int drag_start_y; -- cgit v1.2.3