[all] make cursor visible a flag and send it seperate to position
This commit is contained in:
1 parent
9d7f773b9c
commit
bced5f95ff
5 files changed
+21
-15
No files matched your search
+3
-1
@@ -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