summaryrefslogtreecommitdiff
path: root/desktop/selection.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/selection.h')
-rw-r--r--desktop/selection.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/selection.h b/desktop/selection.h
index 7eafb2c7d..8dc3ce103 100644
--- a/desktop/selection.h
+++ b/desktop/selection.h
@@ -59,12 +59,15 @@ typedef bool (*seln_traverse_handler)(const char *text, size_t length,
size_t whitespace_length);
-struct selection *selection_create(struct browser_window *bw);
+struct selection *selection_create(void);
void selection_destroy(struct selection *s);
void selection_init(struct selection *s, struct box *root);
void selection_reinit(struct selection *s, struct box *root);
+void selection_set_browser_window(struct selection *s,
+ struct browser_window *bw);
+
/* struct box *selection_root(struct selection *s); */
#define selection_root(s) ((s)->root)