Bunch of DMX warning fixes
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
@@ -701,7 +701,6 @@ dmxEnqueue(DevicePtr pDev, int type, int detail, KeySym keySym,
|
||||
XEvent * e, DMXBlockType block)
|
||||
{
|
||||
GETDMXINPUTFROMPDEV;
|
||||
xEvent xE;
|
||||
DeviceIntPtr p = dmxLocal->pDevice;
|
||||
int valuators[3];
|
||||
ValuatorMask mask;
|
||||
@@ -716,7 +715,7 @@ dmxEnqueue(DevicePtr pDev, int type, int detail, KeySym keySym,
|
||||
if (dmxCheckFunctionKeys(dmxLocal, type, keySym))
|
||||
return;
|
||||
if (dmxLocal->sendsCore && dmxLocal != dmxLocalCoreKeyboard)
|
||||
xE.u.u.detail = dmxFixup(pDev, detail, keySym);
|
||||
detail = dmxFixup(pDev, detail, keySym);
|
||||
|
||||
/*ErrorF("KEY %d sym %d\n", detail, (int) keySym); */
|
||||
QueueKeyboardEvents(p, type, detail, NULL);
|
||||
|
||||
Reference in New Issue
Block a user