mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-13 10:58:09 +00:00
[all] make cursor visible a flag and send it seperate to position
This commit is contained in:
@@ -325,11 +325,13 @@ void capturePostPointerBuffer(CapturePointer pointer)
|
||||
if (pointer.positionUpdate)
|
||||
{
|
||||
flags |= CURSOR_FLAG_POSITION;
|
||||
cursor->x = pointer.x;
|
||||
cursor->y = pointer.y;
|
||||
cursor->visible = pointer.visible;
|
||||
cursor->x = pointer.x;
|
||||
cursor->y = pointer.y;
|
||||
}
|
||||
|
||||
if (pointer.visible)
|
||||
flags |= CURSOR_FLAG_VISIBLE;
|
||||
|
||||
if (pointer.shapeUpdate)
|
||||
{
|
||||
// remember which slot has the latest shape
|
||||
|
Reference in New Issue
Block a user