diff options
author | Thomas White <taw@bitwiz.org.uk> | 2016-03-28 22:51:49 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2016-03-28 22:51:49 +0200 |
commit | fe17e48d6b5bb0e05cab77812b0e36f181666810 (patch) | |
tree | 6984b1b9e997fa9b031ba303a62069f68ab39610 /src/frame.c | |
parent | d4de5d06c2ac66b15aa01da3f29dbb33ea270249 (diff) |
Restore callback clicks
Diffstat (limited to 'src/frame.c')
-rw-r--r-- | src/frame.c | 9 |
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); + } +} |