GNOME Bugzilla – Bug 792860
shell-recorder cursor positions do not honor cursor hostspots
Last modified: 2018-02-07 19:05:48 UTC
Currently I think the cursor hot spots are not considered when drawing the cursor at the specific coordinates. This results in some cursors being a bit of in the recorder compared to what you see on screen. cursor_hot_x and cursor_hot_y are actually in the code and are being used at the the drawing step: cairo_set_source_surface (cr, recorder->cursor_image, recorder->pointer_x - recorder->cursor_hot_x - recorder->area.x, recorder->pointer_y - recorder->cursor_hot_y - recorder->area.y); However these values are never being set. Perhaps the "on_cursor_changed" routine that reads the current cursor image buffer should also read the current hot spot coordinates from the cursor?
Fixed in 6f0c187cf4.
I meant commit 6f0c187cf4.