[Backport to xserver-21.1] present: Send a PresentConfigureNotify event for destroyed windows
This enables fixing a deadlock case on the client side, where the client ends up blocked waiting for a Present event that will never come because the window was destroyed. The new PresentWindowDestroyed flag allows the client to avoid blocking indefinitely.
Signed-off-by: Adam Jackson ajax@redhat.com See-also: mesa/mesa#116 (closed) See-also: mesa/mesa#6685 (closed) Reviewed-by: Michel Dänzer mdaenzer@redhat.com (cherry picked from commit 462b0603)