Ben Wing <ben(a)666.com> writes:
> > Why is the XSync solution not OK? Isn't the problem
that we are
> > getting return outdated information because Xt has a backlog
> > processing events.
[Ben: This must be an Xlib bug. It is not synchromising correctly.
(incidently it cannot happen that another app like the window manager
deletes the window in between the two calls since the window
manager only ASKs an app to delete its window)]
> Martin seemed unhappy with the idea of adding yet another XSync
> because of the performance hit it causes.
>
[Ben: Put the Xsync at the end of the delete-frame code, that should
also cause other problems caused by this bug to go way]
Brilliant solution! delete_frame is not performance crititical.
Jan