Re: XForms: How to get expose and resize from a canvas ??

Steve Lamont (
Wed, 30 Jul 97 06:01:58 PDT

To subscribers of the xforms list from (Steve Lamont) :

> > But,while I resizes the window, there are almost
> > 15% chances the resize handler did not print out resize message.
> Maybe your output is buffered. After the print command in each
> callback, try
> fflush( FILE *stream);

If he's writing to standard error or standard output, it shouldn't be.

I've had the problem to which the poster is referring (no
ConfigureNotify events being delivered when the Window is resized) on
SGI platforms (IRIX 5.3 -- I don't recall if it happens on my 6.x
boxes). There doesn't seem to be a cure.

As far as I can tell, this is a bug in the SGI server, since I can't
replicate it on any of my Sun platforms. My only solution was to add
an "uncorrupt" or "redraw" command to allow the luser to redraw a
corrupted display after a resize.

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: