summaryrefslogtreecommitdiff
path: root/src/frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend.c')
-rw-r--r--src/frontend.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/frontend.c b/src/frontend.c
index c53ba66..a071719 100644
--- a/src/frontend.c
+++ b/src/frontend.c
@@ -67,6 +67,13 @@ static int frontend_release(nsfb_t *nsfb, nsfb_bbox_t *box)
return 0;
}
+static int frontend_cursor(nsfb_t *nsfb, struct nsfb_cursor_s *cursor)
+{
+ nsfb=nsfb;
+ cursor=cursor;
+ return 0;
+}
+
nsfb_frontend_rtns_t *nsfb_frontend_get_rtns(enum nsfb_frontend_e type)
{
int fend_loop;
@@ -99,6 +106,9 @@ nsfb_frontend_rtns_t *nsfb_frontend_get_rtns(enum nsfb_frontend_e type)
if (rtns->release == NULL)
rtns->release = frontend_release;
+ if (rtns->cursor == NULL)
+ rtns->cursor = frontend_cursor;
+
break;
}
}