diff options
author | Julien Cristau <jcristau@debian.org> | 2008-10-11 02:10:48 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-10-13 11:01:29 +1030 |
commit | 8c332a836783b4f18b992253f4a94b694c9d0cf1 (patch) | |
tree | 5e510726a015d2037b354158672dc088823a08ec /src/emuMB.c | |
parent | evdev 2.0.6 (diff) | |
download | xf86-input-evdev-8c332a836783b4f18b992253f4a94b694c9d0cf1.tar.gz xf86-input-evdev-8c332a836783b4f18b992253f4a94b694c9d0cf1.tar.bz2 xf86-input-evdev-8c332a836783b4f18b992253f4a94b694c9d0cf1.zip |
Set pInfo->fd to -1 on DEVICE_CLOSE
This allows the reopen logic to kick in later.
DEVICE_CLOSE gets called on regen, so without this we'd keep a stale
file descriptor in pInfo->fd in subsequent sessions.
Debian bug#496101 (http://bugs.debian.org/496101)
(cherry picked from commit b0b6399023bcdbb3337027f85c8da42d8b18c983)
Diffstat (limited to 'src/emuMB.c')
0 files changed, 0 insertions, 0 deletions