Hello, On Sat, Aug 25, 2007 at 06:28:17AM +0200, uau wrote: > + mp_input_rm_event_fd(ConnectionNumber(mDisplay)); And where did you get the guarantees that ConnectionNumber returns a valid fd? My man page says nothing to that effect. Greetings, Reimar Döffinger