Unhide cursor if pos_x is negative
It is valid if position of cursor is negative(not hotspot coordinates). for example: precision section, resize, move, north east arrow... Signed-off-by: Qi Zhou <atmgnd@outlook.com> Acked-by: Frediano Ziglio <freddy77@gmail.com>
This commit is contained in:
parent
3d7fce00cf
commit
64a9d73b10
@ -4920,7 +4920,7 @@ NTSTATUS QxlDevice::SetPointerPosition(_In_ CONST DXGKARG_SETPOINTERPOSITION* pS
|
||||
return STATUS_INSUFFICIENT_RESOURCES;
|
||||
}
|
||||
|
||||
if (pSetPointerPosition->X < 0 || !pSetPointerPosition->Flags.Visible) {
|
||||
if (!pSetPointerPosition->Flags.Visible) {
|
||||
cursor_cmd->type = QXL_CURSOR_HIDE;
|
||||
} else {
|
||||
cursor_cmd->type = QXL_CURSOR_MOVE;
|
||||
|
Loading…
Reference in New Issue
Block a user