OpenBSD/xenocara YqUlplq — driver/xf86-input-ws/src ws.c ws.h
If read() returns EIO, then the wsmouse device has gone away and our fd to it is useless, so detach the xserver driver and close it. Modeled on similar code in xf86-input-{keyboard,mouse} reminded by Frank Groeneveld (frank (at) frankgroeneveld.nl) ok matthieu@ kettenis@
Version | Delta | File | |
---|---|---|---|
1.63 | +34 | -2 | driver/xf86-input-ws/src/ws.c |
1.15 | +2 | -0 | driver/xf86-input-ws/src/ws.h |
+36 | -2 | 2 files |