diff options
author | qi zhou <atmgnd@outlook.com> | 2022-09-06 05:02:57 +0000 |
---|---|---|
committer | Frediano Ziglio <freddy77@gmail.com> | 2022-09-06 08:34:03 +0100 |
commit | 64a9d73b103d19ecee43963a9d66cce311b95c21 (patch) | |
tree | 90347ca4f2a6372924cf62377b64d6f5fa7e6c29 | |
parent | 3d7fce00cf98afa5316f1535f0e622d2d8c68652 (diff) |
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>
-rwxr-xr-x | qxldod/QxlDod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp index 341518e..f498115 100755 --- a/qxldod/QxlDod.cpp +++ b/qxldod/QxlDod.cpp @@ -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;
|