Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!bloom-beacon!ATHENA.MIT.EDU!swick From: swick@ATHENA.MIT.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: X Protocol Problems [BadCursor in Xaw widget creation] Message-ID: <8907131419.AA12065@LYRE.MIT.EDU> Date: 13 Jul 89 14:18:52 GMT References: <4360@merlin.usc.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: DEC/MIT Project Athena Lines: 16 You're being tripped up by a bug in XmuCvtStringToCursor. Since several messages have appeared about this in the past few weeks, here's a quick one-line patch that can be applied by those affected: *** lib/Xmu/StrToCurs.c.R3 --- lib/Xmu/StrToCurs.c *************** *** 237,243 **** for (i=0, cache=cursor_names; i < XtNumber(cursor_names); i++, cache++ ) { if (strcmp(name, cache->name) == 0) { - if (!cache->cursor) cache->cursor = XCreateFontCursor(DisplayOfScreen(screen), cache->shape ); done(&(cache->cursor), Cursor); --- 237,242 ----