diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2017-11-11 17:12:41 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2017-11-11 17:12:41 +0000 |
commit | 4aef3ae40f746d1e89e12497bb279e9b2e9646a0 (patch) | |
tree | c3b3a45b37f03e6a5fc1216f879f6c29766925bb /driver | |
parent | fc150247352846218f2e5e78ac5a28a29e329bd7 (diff) |
xf86-input-acecad: adapt to latest xserver input driver API.
Diffstat (limited to 'driver')
-rw-r--r-- | driver/xf86-input-acecad/src/acecad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/driver/xf86-input-acecad/src/acecad.c b/driver/xf86-input-acecad/src/acecad.c index 6259f21c2..8f0bd6d87 100644 --- a/driver/xf86-input-acecad/src/acecad.c +++ b/driver/xf86-input-acecad/src/acecad.c @@ -491,7 +491,7 @@ AceCadPreInit(InputDriverPtr drv, InputInfoPtr local, int flags) if (local->fd != -1) { - RemoveEnabledDevice (local->fd); + xf86RemoveEnabledDevice (local); if (priv->buffer) { XisbFree(priv->buffer); @@ -499,7 +499,7 @@ AceCadPreInit(InputDriverPtr drv, InputInfoPtr local, int flags) } xf86CloseSerial(local->fd); } - RemoveEnabledDevice (local->fd); + xf86RemoveEnabledDevice (local); local->fd = -1; return Success; @@ -601,7 +601,7 @@ DeviceOff (DeviceIntPtr dev) if (local->fd != -1) { - RemoveEnabledDevice (local->fd); + xf86RemoveEnabledDevice (local); if (priv->buffer) { XisbFree(priv->buffer); |