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 136f97f0f..0949e856e 100644
--- a/desktop/browser.h
+++ b/desktop/browser.h
@@ -339,6 +339,14 @@ void browser_window_set_drag_type(struct browser_window *bw,
*/
struct browser_window * browser_window_get_root(struct browser_window *bw);
+/**
+ * Check whether browser window contains a selection
+ *
+ * \param bw The browser window
+ * \return true if browser window contains a selection
+ */
+bool browser_window_has_selection(struct browser_window *bw);
+
/* In platform specific hotlist.c. */
void hotlist_visited(struct hlcache_handle *c);