dmx: change remainder of manual EQ allocation to GetEventList().
This commit is contained in:
parent
8de26770a4
commit
8a23707b86
|
@ -711,7 +711,7 @@ void dmxEnqueue(DevicePtr pDev, int type, int detail, KeySym keySym,
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case MotionNotify:
|
case MotionNotify:
|
||||||
events = Xcalloc(sizeof(xEvent), GetMaximumEventsNum());
|
GetEventList(&events);
|
||||||
valuators[0] = e->xmotion.x;
|
valuators[0] = e->xmotion.x;
|
||||||
valuators[1] = e->xmotion.y;
|
valuators[1] = e->xmotion.y;
|
||||||
valuators[2] = e->xmotion.state;
|
valuators[2] = e->xmotion.state;
|
||||||
|
|
Loading…
Reference in New Issue