mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
Xming: Add mouse motion events with flag POINTER_SCREEN in winEnqueueMotion()
Add mouse motion events with flag POINTER_SCREEN in winEnqueueMotion(), as they are in screen coordindates and may need to be scaled to the axis range appropriately Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
committed by
Jon TURNEY
parent
7af1240b57
commit
019a601de6
@@ -381,7 +381,7 @@ void winEnqueueMotion(int x, int y)
|
||||
|
||||
GetEventList(&events);
|
||||
nevents = GetPointerEvents(events, g_pwinPointer, MotionNotify, 0,
|
||||
POINTER_ABSOLUTE, 0, 2, valuators);
|
||||
POINTER_ABSOLUTE | POINTER_SCREEN, 0, 2, valuators);
|
||||
|
||||
for (i = 0; i < nevents; i++)
|
||||
mieqEnqueue(g_pwinPointer, events[i].event);
|
||||
|
||||
Reference in New Issue
Block a user