[Spice-devel] [PATCH] unhide cursor if pos_x is negative
Frediano Ziglio
freddy77 at gmail.com
Tue Sep 6 07:37:15 UTC 2022
Il giorno mar 6 set 2022 alle ore 06:03 qi zhou <atmgnd at outlook.com> ha scritto:
>
> From e1cb184f71e698509c5ae50c20c687130325da52 Mon Sep 17 00:00:00 2001
> From: Qi Zhou <atmgnd at outlook.com>
> Date: Tue, 6 Sep 2022 12:14:49 +0800
> Subject: [PATCH] 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 at outlook.com>
> ---
> qxldod/QxlDod.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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;
> --
> 2.32.0.windows.2
>
Hi,
merged.
Now the issue is getting it compiled and signed. Uri, Victor, can
somebody do it?
Frediano
More information about the Spice-devel
mailing list