diff --git a/plugins/win-capture/cursor-capture.c b/plugins/win-capture/cursor-capture.c index 76a63190a..735f7b54d 100644 --- a/plugins/win-capture/cursor-capture.c +++ b/plugins/win-capture/cursor-capture.c @@ -154,6 +154,9 @@ static inline bool cursor_capture_icon(struct cursor_data *data, HICON icon) data->texture = gs_texture_create(width, height, GS_BGRA, 1, &bitmap, 0); bfree(bitmap); + + data->x_hotspot = ii.xHotspot; + data->y_hotspot = ii.yHotspot; } DeleteObject(ii.hbmColor);