summaryrefslogtreecommitdiff
path: root/desktop/selection.h
diff options
context:
space:
mode:
authorAdrian Lees <adrian@aemulor.com>2006-02-11 18:33:05 +0000
committerAdrian Lees <adrian@aemulor.com>2006-02-11 18:33:05 +0000
commitedded10c0fab01984b43de8d857cce7b6027b242 (patch)
tree159e9ee70fa8fe88e72500f57fe5481fe4ec08a1 /desktop/selection.h
parent6b6841f07e7f4afea7fc025214abedbc79d3aa03 (diff)
downloadnetsurf-edded10c0fab01984b43de8d857cce7b6027b242.tar.gz
netsurf-edded10c0fab01984b43de8d857cce7b6027b242.tar.bz2
[project @ 2006-02-11 18:33:05 by adrianl]
Textarea/selection improvements and fixes svn path=/import/netsurf/; revision=2072
Diffstat (limited to 'desktop/selection.h')
-rw-r--r--desktop/selection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/selection.h b/desktop/selection.h
index c039e1c0f..57097f3d0 100644
--- a/desktop/selection.h
+++ b/desktop/selection.h
@@ -54,6 +54,9 @@ void selection_destroy(struct selection *s);
void selection_init(struct selection *s, struct box *root);
void selection_reinit(struct selection *s, struct box *root);
+/* struct box *selection_root(struct selection *s); */
+#define selection_root(s) ((s)->root)
+
/* bool selection_defined(struct selection *s); */
#define selection_defined(s) ((s)->defined)