diff options
author | Adrian Lees <adrian@aemulor.com> | 2005-07-24 18:35:57 +0000 |
---|---|---|
committer | Adrian Lees <adrian@aemulor.com> | 2005-07-24 18:35:57 +0000 |
commit | 4b4e4dba95374aa2dc357f39e48f50775812bca0 (patch) | |
tree | 1e60f339e494e7d0bd4013a62a1ed4b39bb7e93c /desktop | |
parent | e05db0c28c2237f9b1701f7049a3e7551992cd37 (diff) | |
download | netsurf-4b4e4dba95374aa2dc357f39e48f50775812bca0.tar.gz netsurf-4b4e4dba95374aa2dc357f39e48f50775812bca0.tar.bz2 |
[project @ 2005-07-24 18:35:57 by adrianl]
Find nearest text when selecting
svn path=/import/netsurf/; revision=1823
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/selection.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/selection.h b/desktop/selection.h index a5221ed9c..eaaae4d83 100644 --- a/desktop/selection.h +++ b/desktop/selection.h @@ -59,6 +59,9 @@ void selection_reinit(struct selection *s, struct box *root); /* bool selection_dragging(struct selection *s); */ #define selection_dragging(s) ((s)->drag_state != DRAG_NONE) +/* bool selection_dragging_start(struct selection *s); */ +#define selection_dragging_start(s) ((s)->drag_state == DRAG_START) + void selection_clear(struct selection *s, bool redraw); void selection_select_all(struct selection *s); |