🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #36806

XtGetMultiClickTime() in X11R4 misbehaves

#36806
From: Oliver Laumann
Date: Tue, 13 Feb 1990 16:21
16 lines
1142 bytes
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
Technical Details
Message-ID: <1170@tub.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!usc!snorkelwacker!ira.uka.de!smurf!gopnbg!tmpmbx!tub!net

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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