[client,common] fix freerdp_client_pen_cancel_all
* fix freerdp_client_pen_cancel_all * fix FreeRDPPenEventType
This commit is contained in:
parent
becaac792f
commit
48a55aa95b
@ -2068,9 +2068,9 @@ BOOL freerdp_client_pen_cancel_all(rdpClientContext* cctx)
|
||||
FreeRDP_PenDevice* pen = &cctx->pens[i];
|
||||
if (pen->hovering)
|
||||
{
|
||||
WLog_DBG(TAG, "unhover pen %d", i);
|
||||
WLog_DBG(TAG, "unhover pen %" PRId32, pen->deviceid);
|
||||
pen->hovering = FALSE;
|
||||
rdpei->PenHoverCancel(rdpei, i, 0, pen->last_x, pen->last_y);
|
||||
rdpei->PenHoverCancel(rdpei, pen->deviceid, 0, pen->last_x, pen->last_y);
|
||||
}
|
||||
}
|
||||
return TRUE;
|
||||
|
@ -247,10 +247,10 @@ extern "C"
|
||||
FREERDP_PEN_RELEASE = 0x10,
|
||||
FREERDP_PEN_BARREL_PRESSED = 0x20,
|
||||
FREERDP_PEN_HAS_PRESSURE = 0x40,
|
||||
FREERDP_PEN_HAS_ROTATION = 0x40,
|
||||
FREERDP_PEN_HAS_TILTX = 0x80,
|
||||
FREERDP_PEN_HAS_TILTY = 0x100,
|
||||
FREERDP_PEN_IS_INVERTED = 0x200
|
||||
FREERDP_PEN_HAS_ROTATION = 0x80,
|
||||
FREERDP_PEN_HAS_TILTX = 0x100,
|
||||
FREERDP_PEN_HAS_TILTY = 0x200,
|
||||
FREERDP_PEN_IS_INVERTED = 0x400
|
||||
} FreeRDPPenEventType;
|
||||
|
||||
FREERDP_API BOOL freerdp_client_handle_pen(rdpClientContext* cctx, UINT32 flags, INT32 deviceid,
|
||||
|
Loading…
Reference in New Issue
Block a user