Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!olivea!mintaka!bloom-beacon!dont-send-mail-to-path-lines From: chucks@sne42n.orl.mmc.COM Newsgroups: comp.windows.x Subject: bug in xman? Message-ID: <9102181835.AA07630@seuss.orl.mmc.com> Date: 18 Feb 91 18:35:18 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 27 I am having a problem with xman going into a hard loop. I have traced the problem to the format routine in misc.c. the code where the problem is: while ( !XCheckTypedWindowEvent(XtDisplay(man_globals->standby), XtWindow(man_globals->standby), Expose, &event) ); XtDispatchEvent( &event ); XFlush(XtDisplay(man_globals->standby)); If an expose event for the window never happens then the while loop is stuck forever. This is exactly what I see happening. Question: Why is it necessary to wait for the expose. If you are going to dispatch the expose and then flush the buffer, couldnt you just flush the buffer and generate your own expose. Or is there a much deeper reason for the method you used. thanks, X11R4-pl18, SUNos 4.1.1, sun cc Malcolm Strickland chucks@iplmail.orl.mmc.com Martin Marietta Electronic Systems 407-356-5909