summaryrefslogtreecommitdiff
path: root/mi/mieq.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-08 20:34:32 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-08 20:34:32 +0300
commit41bb9fce47f6366cc3f7d45790f7883f74289b5a (patch)
treea14e527db23b262d42f289082967974a3bc28d29 /mi/mieq.c
parentbe8dfafd1d58b27bbfd953fc1216311523353db1 (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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mi/mieq.c b/mi/mieq.c
index 856aa25c4..16e638c64 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -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;
}