Re: XForms: clearing the window once again

Steve Lamont (spl@szechuan.ucsd.edu)
Fri, 30 Jan 98 16:37:37 PST

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> Make sure that you call XFlush(display) after XClearWindow().
> If you don't, the message may be queued and received
> by the X server later.

You should not need to do this since the function immediately returns
to XForms's internal event loop and since there are things which cause
a round trip to the server there, the buffers will get flushed
automagically, anyhow.

The only time you might need to call XFlush() is if you are doing some
long calculation or other operation which does not return control to
XForms.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/