Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: Patch number 9 Message-ID: <8903301542.AA01872@EXPIRE.LCS.MIT.EDU> Date: 30 Mar 89 15:42:14 GMT References: <8903301426.AA21249@tub.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 10 XtAddTimeOut() adds the timer to the default application context, no matter which application context is actually used by the application. This causes certain widgets (e.g. the HP scrollbar widget) to not properly work when the application makes use of an explicitly created application context. XtAddTimeOut() is doing the right thing. Widgets should be using XtWidgetToApplicationContext() to figure out what context they're in, and call XtAppAddTimeOut() instead. Similar for work procs.