mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:06:04 +00:00
[WIN32SS] mouse: call panning driver when moving pointer
Yes, if a driver supports both hardware pointers and panning, it will be called twice on each move.
This commit is contained in:
parent
57c07ba117
commit
83d2c8ce33
1 changed files with 5 additions and 0 deletions
|
@ -820,6 +820,11 @@ GreMovePointer(
|
|||
pdc->ppdev->pfnMovePointer(pso, x, y, prcl);
|
||||
else if (pdc->ppdev->flFlags & PDEV_SOFTWARE_POINTER)
|
||||
EngMovePointer(pso, x, y, prcl);
|
||||
|
||||
/* If panning device, and we're not hiding the cursor, notify cursor's current position.
|
||||
* (driver may already have been called if it also supports hardware pointers) */
|
||||
if (pdc->ppdev->devinfo.flGraphicsCaps & GCAPS_PANNING && y >= 0)
|
||||
pdc->ppdev->pfnMovePointer(pso, x, y - pso->sizlBitmap.cy, NULL);
|
||||
}
|
||||
|
||||
/* Release PDEV lock */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue