From 4b4e4dba95374aa2dc357f39e48f50775812bca0 Mon Sep 17 00:00:00 2001 From: Adrian Lees Date: Sun, 24 Jul 2005 18:35:57 +0000 Subject: [project @ 2005-07-24 18:35:57 by adrianl] Find nearest text when selecting svn path=/import/netsurf/; revision=1823 --- desktop/selection.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'desktop') 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); -- cgit v1.2.3