aboutsummaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2016-03-28 22:51:49 +0200
committerThomas White <taw@bitwiz.org.uk>2016-03-28 22:51:49 +0200
commitfe17e48d6b5bb0e05cab77812b0e36f181666810 (patch)
tree6984b1b9e997fa9b031ba303a62069f68ab39610 /src/frame.c
parentd4de5d06c2ac66b15aa01da3f29dbb33ea270249 (diff)
Restore callback clicks
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index 591dafd..16d272f 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -641,3 +641,12 @@ void cursor_movev(struct frame *fr, int *cpara, int *cpos, int *ctrail,
signed int dir)
{
}
+
+
+void check_callback_click(struct frame *fr, int para)
+{
+ Paragraph *p = fr->paras[para];
+ if ( p->type == PARA_TYPE_CALLBACK ) {
+ p->click_func(0.0, 0.0, p->bvp, p->vp);
+ }
+}