Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!uwm.edu!csd4.csd.uwm.edu!bionet!agate!saturn!helios!sla From: sla@helios (Steve Allen) Newsgroups: comp.windows.x Subject: a problem with changing GC on a VAXStation 2000 Summary: is there one? Keywords: XSetLineAttributes, XChangeGC, Ultrix Message-ID: <9124@saturn.ucsc.edu> Date: 14 Sep 89 20:53:57 GMT Sender: usenet@saturn.ucsc.edu Reply-To: sla@helios.ucsc.edu (Steve Allen) Distribution: na Organization: UC Observatories/Lick Observatory, Santa Cruz Lines: 20 Sender: Either of the following code snippets causes trouble on a VAXStation 2000 running "Ultrix-32 version 3.0 rev 64" and "UWS V2.0 System #1" with all of the X11 supplied from DEC: ---- XSetLineAttributes(dpy,gc,(unsigned int)w,LineSolid,CapButt,JoinMiter); ----or alternatively---- gc_val.line_width = (int)(w); XChangeGC(dpy,gc,GCLineWidth,gc_val); ---- This same code works fine with the MIT XV11R3 server on Sun3, Sun4, Sparc. However, when run on the VAXStation it causes the window to flash colors and then the server hangs for a few minutes before any window responds. Has anyone else seen this? Steve Allen sla@helios.ucsc.edu sla@portal (BITNET) ...!ucbvax!ucscc!helios!sla