summaryrefslogtreecommitdiff
path: root/desktop/selection.h
diff options
context:
space:
mode:
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)