mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2026-08-08 03:57:00 +00:00
Add support for mouse movement
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe de Dinechin <cdupontd@redhat.com>
This commit is contained in:
parent
a419692ea9
commit
c05cc91972
@ -87,6 +87,8 @@ typedef enum StreamMsgType {
|
||||
STREAM_TYPE_NOTIFY_ERROR,
|
||||
/* guest cursor */
|
||||
STREAM_TYPE_CURSOR_SET,
|
||||
/* guest cursor position */
|
||||
STREAM_TYPE_CURSOR_MOVE,
|
||||
} StreamMsgType;
|
||||
|
||||
/* Generic extension capabilities.
|
||||
@ -196,5 +198,14 @@ typedef struct StreamMsgCursorSet {
|
||||
uint8_t data[0];
|
||||
} StreamMsgCursorSet;
|
||||
|
||||
/* Guest cursor position
|
||||
* This message is sent by the guest to the host.
|
||||
*
|
||||
* States allowed: Streaming
|
||||
*/
|
||||
typedef struct StreamMsgCursorMove {
|
||||
int32_t x;
|
||||
int32_t y;
|
||||
} StreamMsgCursorMove;
|
||||
|
||||
#endif /* SPICE_STREAM_DEVICE_H_ */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user