parent
ab1d420022
commit
6545051902
|
@ -1,3 +1,8 @@
|
|||
2006-04-14 Adam Jackson <ajax@freedesktop.org>
|
||||
|
||||
* hw/dmx/input/dmxcommon.c:
|
||||
Coverity #1003, #1004: Two more useless null checks.
|
||||
|
||||
2006-04-14 Adam Jackson <ajax@freedesktop.org>
|
||||
|
||||
* hw/dmx/input/dmxconsole.c:
|
||||
|
|
|
@ -483,7 +483,6 @@ int dmxCommonMouOn(DevicePtr pDev)
|
|||
GETPRIVFROMPDEV;
|
||||
GETDMXINPUTFROMPRIV;
|
||||
|
||||
if (!priv) return -1;
|
||||
priv->eventMask |= DMX_POINTER_EVENT_MASK;
|
||||
if (dmxShadowFB) {
|
||||
XWarpPointer(priv->display, priv->window, priv->window,
|
||||
|
@ -509,7 +508,6 @@ void dmxCommonMouOff(DevicePtr pDev)
|
|||
GETPRIVFROMPDEV;
|
||||
GETDMXINPUTFROMPRIV;
|
||||
|
||||
if (!priv) return;
|
||||
priv->eventMask &= ~DMX_POINTER_EVENT_MASK;
|
||||
if (!priv->be) {
|
||||
RemoveEnabledDevice(XConnectionNumber(priv->display));
|
||||
|
|
Loading…
Reference in New Issue
Block a user