Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bionet!csd4.milw.wisc.edu!lll-winken!lll-lcc!chapman From: chapman@lll-lcc.UUCP (Carol Chapman) Newsgroups: comp.windows.x,ba.windows.x Subject: popup window pops down too slowly Keywords: X11R3, Xt, Athena, debug mode speeds it up! Message-ID: <2503@lll-lcc.UUCP> Date: 6 Jun 89 01:30:04 GMT Followup-To: poster Organization: Livermore National Laboratory Lines: 32 I have a popup window which asks a user to enter some information and then click on either an Ok or a Cancel button, both buttons being located in that same popup window. I can run my program in a debugging mode which prints a lot of debugging statements, or I can run without it. I've noticed that when I run in the debug mode, the popup window vanishes pretty quickly after the user clicks on the Ok or Cancel button. However, if I am not in that debugging mode, the popup window can remain on the screen for a *LONG* time before it finally vanishes. Can anyone tell me what is causing this, and how to eliminate the slow vanishing act? Thanks, carol chapman P.S. The basic popup/popdown routine looks like this: . . XtPopup(popup_shell, XtGrabExclusive); popup_state = WAITING; while (popup_state == WAITING) { XtAppNextEvent(app_context, &event); XtDispatchEvent(&event); } XtPopdown(popup_shell); . . -- ------------------------------------------------------------------------------- Livermore Lab (chapman@lll-crg.llnl.gov or chapman@lll-lcc.llnl.gov) P.O. Box 808, L-153 Tel. (415) 423-7876 Livermore, CA 94550 "Never own anything that you have to FEED or PAINT."