Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!igor!amber!geb From: geb@amber.uucp (Gary E. Barnes) Newsgroups: comp.windows.x Subject: Re: Questions Message-ID: <556@igor.Rational.COM> Date: 22 Mar 89 17:11:05 GMT References: Sender: news@igor.Rational.COM Reply-To: geb@amber.UUCP (Gary E. Barnes) Organization: Rational, Santa Clara, CA Lines: 45 I tried sending this by EMAIL none of the paths on the original message work. The question was: > (1) The buttons in the athena Dialog widget are *unbelievably* slow. > Highlighting and de-highlighting are the most noticeably bad, but > refreshing is also a killer. When I expose my 5 x-postit windows, for > instance, they take about 15 seconds to redraw (during which the server > response is nil). Is this normal? I had the same problem with the X11R3 Command widgets. Here is a DIFF between what was shipped on the R3 tapes and our current versions of lib/Xaw/Command.c. All of the changes except the one with my initials on it are from the MIT folks. My change has been submitted to them but hasn't been blessed as yet; as far as I know. That one line change returns us to the speed of R2. Gary amber 8: diff Command.c ../../lib/Xaw/Command.c.orig 2c2 < static char Xrcsid[] = "$XConsortium: Command.c,v 1.46 88/11/01 16:57:33 swick Exp $"; --- > static char Xrcsid[] = "$XConsortium: Command.c,v 1.45 88/10/19 09:39:35 swick Exp $"; 260c260 < Redisplay(w, event, HighlightRegion(cbw)); --- > Redisplay(w, event, HighlightRegion()); 274c274 < Redisplay(w, event, HighlightRegion(cbw)); --- > Redisplay(w, event, HighlightRegion()); 312,319c312 < if (!ComWset && < (ComWhighlighted || event->xany.type != Expose) && /* This line added < * by GEB 12/14/88; < * This is NOT a < * "blessed" bug fix. < * So your milage may < * vary. */ < ComWhighlightThickness > 0) { --- > if (!ComWset && ComWhighlightThickness > 0) { amber 9: