mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-15 00:13:28 +00:00
mi/mipointer: deprecate functions which don't take a device
Deprecate all mi pointer functions which don't take a device argument, and replace them with versions which do, in preparation for MPX.
This commit is contained in:
parent
6eab4c5589
commit
ef68273f5b
3 changed files with 56 additions and 22 deletions
|
|
@ -104,9 +104,9 @@ mieqEnqueue (xEvent *e)
|
|||
&laste->event[0];
|
||||
|
||||
if (e->u.u.type == MotionNotify) {
|
||||
miPointerAbsoluteCursor(e->u.keyButtonPointer.rootX,
|
||||
e->u.keyButtonPointer.rootY,
|
||||
e->u.keyButtonPointer.time);
|
||||
miPointerSetPosition(pDev, e->u.keyButtonPointer.rootX,
|
||||
e->u.keyButtonPointer.rootY,
|
||||
e->u.keyButtonPointer.time);
|
||||
pDev = inputInfo.pointer;
|
||||
isMotion = inputInfo.pointer->id & DEVICE_BITS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue