[comp.windows.x] XtGetMultiClickTime

net@tub.UUCP (Oliver Laumann) (02/14/90)

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