aboutsummaryrefslogtreecommitdiff
path: root/src/wrap.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-08-15 23:51:42 +0200
committerThomas White <taw@bitwiz.org.uk>2013-08-15 23:51:42 +0200
commit8d341bdb00df96e549f0cadc64c25cfa4f09294a (patch)
treec7c72ee9431a33831c34c2e782456c5378da6152 /src/wrap.h
parent4fd6e38211b569b81045528ea8794de790ad9da9 (diff)
Click to set cursor position (needs debugging)
Diffstat (limited to 'src/wrap.h')
-rw-r--r--src/wrap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wrap.h b/src/wrap.h
index 603d2e6..6f03fd9 100644
--- a/src/wrap.h
+++ b/src/wrap.h
@@ -102,6 +102,7 @@ extern int wrap_contents(struct frame *fr, PangoContext *pc);
extern void get_cursor_pos(struct frame *fr, size_t pos,
double *xposd, double *yposd, double *line_height);
+extern size_t find_cursor_pos(struct frame *fr, double xposd, double yposd);
extern void wrap_line_free(struct wrap_line *l);
extern void show_boxes(struct wrap_line *boxes);