mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 22:20:06 +01:00
parent
d017ca616c
commit
b584ed481f
2 changed files with 5 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue