mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-04 09:44:16 +00:00
[all] make cursor visible a flag and send it seperate to position
This commit is contained in:
@@ -300,11 +300,13 @@ static int cursorThread(void * unused)
|
||||
|
||||
KVMFRCursor * cursor = (KVMFRCursor *)msg.mem;
|
||||
|
||||
state.cursorVisible =
|
||||
msg.udata & CURSOR_FLAG_VISIBLE;
|
||||
|
||||
if (msg.udata & CURSOR_FLAG_POSITION)
|
||||
{
|
||||
state.cursor.x = cursor->x;
|
||||
state.cursor.y = cursor->y;
|
||||
state.cursorVisible = cursor->visible;
|
||||
state.haveCursorPos = true;
|
||||
|
||||
if (!state.haveAligned && state.haveSrcSize && state.haveCurLocal)
|
||||
|
Reference in New Issue
Block a user