Path: utzoo!attcan!uunet!husc6!rutgers!tut.cis.ohio-state.edu!bloom-beacon!ZERMATT.LCS.MIT.EDU!RWS From: RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) Newsgroups: comp.windows.x Subject: XSetDashes isn't broken, your code is Message-ID: <19880706122416.3.RWS@KILLINGTON.LCS.MIT.EDU> Date: 6 Jul 88 12:24:00 GMT References: <8807052348.AA01827@special-k.ai.mit.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 7 I don't know of any problems with XSetDashes. Please re-read the Xt documentation. GCs returned by XtGetGC must be treated as *read-only*. The code that you provided calls XtGetGC multiple times, but always with the same values, so only one real GC gets created, into which you store dashes multiple times, only the last one having any real effect.