summaryrefslogtreecommitdiff
path: root/hw/dmx/input/dmxbackend.c
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-03-30 16:05:46 -0600
committerBrian <brian@yutani.localnet.net>2007-03-30 16:05:46 -0600
commitebdc8ce5c108dc3b6b0004e7c7939d1a5bef8676 (patch)
treec57b62a810836dd460009e97a3b3a2c724022809 /hw/dmx/input/dmxbackend.c
parent3c7413e0c2f87e154aa8aa4a83bd585a6d1091e8 (diff)
Checkpoint DMX updates: things are working much better now, but still not 100% right.
Use new dmxCoreMotion2() function which enqueues motion events with GetPointerEvents()/mieqEnqueue(). The clipAxis() code in GetPointerEvents() is causing some grief. The limits seem to have always been (0,0) according to the original calls to InitValuatorAxisStruct() in dmxinputinit.c. Terrible hack for now: Call InitValuatorAxisStruct() with hard-coded max values of 1280 (my screen width).
Diffstat (limited to 'hw/dmx/input/dmxbackend.c')
-rw-r--r--hw/dmx/input/dmxbackend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/input/dmxbackend.c b/hw/dmx/input/dmxbackend.c
index 61d1bfe3e..7efb2eebe 100644
--- a/hw/dmx/input/dmxbackend.c
+++ b/hw/dmx/input/dmxbackend.c
@@ -395,7 +395,7 @@ void dmxBackendCollectEvents(DevicePtr pDev,
}
break;
case MotionNotify:
-#if 00 /*BP*/
+#if 001 /*BP*/
DMXDBG9("dmxBackendCollectEvents: MotionNotify %d/%d (mi %d)"
" newscreen=%d: %d %d (e=%d; last=%d,%d)\n",
dmxScreen->index, priv->myScreen,