Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!usc!snorkelwacker!ira.uka.de!smurf!gopnbg!tmpmbx!tub!net From: net@tub.UUCP (Oliver Laumann) Newsgroups: comp.windows.x Subject: XtGetMultiClickTime() in X11R4 misbehaves Message-ID: <1170@tub.UUCP> Date: 13 Feb 90 16:21:51 GMT Reply-To: net@tub.UUCP (Oliver Laumann) Organization: Technical University of Berlin, Germany Lines: 16 XtGetMultiClickTime drops core when it is invoked with a display that has been created by a call to XOpenDisplay() (as opposed to a display created by a toolkit function like XtOpenDisplay()). The reason is a buggy definition of the macro XtGetPerDisplay in mit/lib/Xt/InitialI.h. There is a correct definition of the same macro a couple of lines above the buggy one; unfortunately, the correct definition is surrounded by an #ifdef DEBUG / #endif... I think XtGetMultiClickTime() and similar functions should print "Couldn't find per display information" when invoked with a display not owned by Xt. Regards, -- Oliver Laumann net@TUB.BITNET net@tub.cs.tu-berlin.de net@tub.UUCP