summaryrefslogtreecommitdiff
path: root/desktop/browser.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/browser.h')
-rw-r--r--desktop/browser.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/browser.h b/desktop/browser.h
index 6a313f032..39d6bf942 100644
--- a/desktop/browser.h
+++ b/desktop/browser.h
@@ -330,6 +330,14 @@ void browser_window_set_position(struct browser_window *bw, int x, int y);
void browser_window_set_drag_type(struct browser_window *bw,
browser_drag_type type);
+/*
+ * Get the root level browser window
+ *
+ * \param bw browser window to set the type of the current drag for
+ * \return root browser window
+ */
+struct browser_window * browser_window_get_root(struct browser_window *bw);
+
/* In platform specific hotlist.c. */
void hotlist_visited(struct hlcache_handle *c);