diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-10-08 20:34:32 +0300 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-10-08 20:34:32 +0300 |
commit | 41bb9fce47f6366cc3f7d45790f7883f74289b5a (patch) | |
tree | a14e527db23b262d42f289082967974a3bc28d29 /mi/mieq.c | |
parent | be8dfafd1d58b27bbfd953fc1216311523353db1 (diff) |
mipointer: take device arguments, split miPointerAbsoluteCursor
Update mipointer API to take a device argument to (almost) all functions,
and split miPointerAbsoluteCursor into a couple of separate functions.
Remove miPointerAbsoluteCursor call from mieq, as we now deal with it in
GetPointerEvents.
Make miPointerSetPosition (successor of miPointerAbsoluteCursor) take
pointers to x and y, so it can return the clipped values.
Modify callers of miPointer*() functions to generally use the new
functions.
This should fix things with multi-head setups.
Diffstat (limited to 'mi/mieq.c')
-rw-r--r-- | mi/mieq.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -104,9 +104,6 @@ mieqEnqueue (xEvent *e) &laste->event[0]; if (e->u.u.type == MotionNotify) { - miPointerSetPosition(pDev, e->u.keyButtonPointer.rootX, - e->u.keyButtonPointer.rootY, - e->u.keyButtonPointer.time); pDev = inputInfo.pointer; isMotion = inputInfo.pointer->id & DEVICE_BITS; } |