[comp.windows.open-look] Canvas refresh

neeraj@matrix.UUCP (neeraj sangal) (05/01/91)

I have an application where you can open multiple view windows. Each of
the views consist of a canvas and control panel with buttons. If moving
the view around exposes the window I get WIN_REPAINT events.

If a keep my mouse button down and move the view a lot I get only
one WIN_REPAINT event (WIN_COLLAPSE_EXPOSURES is set to TRUE) under
Open Windows (which uses xnews and olwm). However, under MIT X11 R4 with
twm I get a very large number of WIN_REPAINT events. I also get a
large number of repaint events when running it on an NCD X terminal.

The preferred behaviour for me is the one demonstrated by Open Windows.
Can anybody tell me why the two X servers behave differently? Is there
any way I can reduce the number of repaint events on the standard
X11 R4?

Neeraj Sangal
Matrix Computer Systems, Inc.           1 Tara Blvd, Nashua, NH 03062
uunet!matrix!neeraj                     (603) 888-7000