mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-09 00:07:57 -06:00
spice: set pointer position on hotspot
The Spice protocol uses cursor position on hotspot: the client is applying hotspot offset when drawing the cursor. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
d0df04a156
commit
dc8dceee64
2 changed files with 8 additions and 5 deletions
|
@ -97,7 +97,8 @@ struct SimpleSpiceDisplay {
|
|||
/* cursor (without qxl): displaychangelistener -> spice server */
|
||||
SimpleSpiceCursor *ptr_define;
|
||||
SimpleSpiceCursor *ptr_move;
|
||||
uint16_t ptr_x, ptr_y;
|
||||
int16_t ptr_x, ptr_y;
|
||||
int16_t hot_x, hot_y;
|
||||
|
||||
/* cursor (with qxl): qxl local renderer -> displaychangelistener */
|
||||
QEMUCursor *cursor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue