mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
Pass pointer hotspots to libnsfb.
This commit is contained in:
parent
d84ad62a04
commit
46527795db
@ -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;
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user