bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XtAppPending still hangs


From: nathan_salwen
Subject: XtAppPending still hangs
Date: Sat, 13 Mar 2004 23:11:33 -0500
User-agent: SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386-redhat-linux-gnu) MULE/5.0 (SAKAKI)

Dear Robert,

You may remember me.  Several years ago I ran into a problem where
XtAppPending would hang until I clicked in the X plotting window.  Now
I am running in a slightly different mode and am seeing essentially
the same problem.  Interestingly, I found my name in the comments
describing the first fix but it now reoccurs if I set
"USE_DOUBLE_BUFFERING" in an "X" plotter.  

In _y_maybe_handle_x_events (y_openpl.c), I find that when
(select_return>0), which usually occurs when I move the mouse through
the plotting window, I call XtAppPending which hangs.  It doesn't seem
that clicking in the window or anything else that I can think of can
unstick it.  I fixed the problem for my purposes by just putting a
"break;" before the call to XtAppPending so it is never called.  Since
I am running an X rather than an X-drawable plotter, it is my
understanding that we don't really do anything with the events
anyways.

Once again, thanks for an excellent piece of code that I have used for
years.

I am using plotutils-2.4.1 packaged by Debian (2.4.1-10) and Xfree86
3.3.6 (Debian xserver-common-v3-3.3.6-44

Sincerely,
Nathan Salwen







reply via email to

[Prev in Thread] Current Thread [Next in Thread]