[Spice-devel] [PATCH] unhide cursor if pos_x is negative

Victor Toso victortoso at redhat.com
Fri Sep 9 19:20:45 UTC 2022


Hi,

On Tue, Sep 06, 2022 at 08:37:15AM +0100, Frediano Ziglio wrote:
> 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?

Sorry, I don't know the process but I hope it is still doable (to
get it signed).

Cheers,
Victor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20220909/9cfff3c0/attachment.sig>


More information about the Spice-devel mailing list