polygons not drawing properly in hugs
Brought to you by:
torrey
Using the hugs Haskell interpreter and the graphics package,
polygons don't draw on the screen properly for one of the
examples. As a test, I tried it remotely on a NetBSD box and directly
on the NetBSD box.
The polygons draw on a NetBSD box running XFree86, but not when
forwarding the session to my Mac running XFree86-4.3.0 (from fink).
OS is X 10.2.6.
I am including the haskell source file.
Haskell file that doesn't work right.
Logged In: YES
user_id=576330
Now I notice that moving the window creates a redraw that shows the
polygons, but every time the window tries to refresh I have to move the
window to refresh it.
Logged In: YES
user_id=133579
Hmm, is this graphics package publicly available? In general XDarwin
correctly updates areas damaged by drawing, so this is likely a result of the
X client trying to optimize when updates are done. It would be interesting to
know what is causing the problem. One possibly related issue is that
XDarwin does not correctly send out VisibilityNotify events.