The Damage extension version 1.1 specification states that a partial "repair" of a damaged area results in DamageNotify event(s) for remaining damage areas. However, when the reporting level on the DAMAGE object is RawRectangles, no such events ever occur. A code inspection of damageext.c : ProcDamageSubtract() shows that the request is entirely bypassed for this reporting level. A test client also confirms this behavior.
Please correct either the code or the extension documentation so that they agree.
Note that DamageSubtract is the only way to clear damaged areas, short of destructing the DAMAGE object. Bypassing this ability compromises the usefulness of RawRectangles reporting.
*** This bug has been marked as a duplicate of bug 14648 ***