summaryrefslogtreecommitdiff
path: root/framebuffer
diff options
context:
space:
mode:
Diffstat (limited to 'framebuffer')
-rw-r--r--framebuffer/fbtk/fbtk.c4
-rw-r--r--framebuffer/framebuffer.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/framebuffer/fbtk/fbtk.c b/framebuffer/fbtk/fbtk.c
index b29fe9fb1..4356bb235 100644
--- a/framebuffer/fbtk/fbtk.c
+++ b/framebuffer/fbtk/fbtk.c
@@ -373,7 +373,9 @@ fbtk_set_ptr(fbtk_widget_t *widget, fbtk_callback_info *cbi)
(nsfb_colour_t *)bm->pixdata,
bm->width,
bm->height,
- bm->width);
+ bm->width,
+ bm->hot_x,
+ bm->hot_y);
return 0;
}
diff --git a/framebuffer/framebuffer.c b/framebuffer/framebuffer.c
index fda8aae0d..da80a135a 100644
--- a/framebuffer/framebuffer.c
+++ b/framebuffer/framebuffer.c
@@ -427,7 +427,7 @@ framebuffer_finalise(void)
bool
framebuffer_set_cursor(struct fbtk_bitmap *bm)
{
- return nsfb_cursor_set(nsfb, (nsfb_colour_t *)bm->pixdata, bm->width, bm->height, bm->width);
+ return nsfb_cursor_set(nsfb, (nsfb_colour_t *)bm->pixdata, bm->width, bm->height, bm->width, bm->hot_x, bm->hot_y);
}
nsfb_t *framebuffer_set_surface(nsfb_t *new_nsfb)