Skip to content
Prev 5094 / 63421 Next

who frees dd and xd in X11_Open?

Peter Dalgaard BSA <p.dalgaard@pubhealth.ku.dk> writes:
The question about freeing xd and dd comes indeed from my fiddling
with the X11 driver and understanding the code there...  As for the
current handleEvent: there are some events simply ignored (like the
DestroyNotify event) and some are not reaped due to the sequence of
events in X11_Close/R_ProcessEvents.  (And the way inclose is handled
is scary once you think of closing two windows at roughly the same
time...)  The events that linger after R is done shouldn't confuse the
window manager, though.

I've put my code, patches, comments, suggestions, etc. at:
http://www.ece.cmu.edu/~tov/public/R/X11andTk.html
I'd be curious whether R with the patched handleEvent still crashes
FVWM95.  Probably but who knows.

  -tom