Add a ConfigNotify hook.

Executed from the ConfigureWindow request, right before sending
ConfigureNotify to the clients.

This commit breaks the ScreenRec ABI.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
Francisco Jerez 2010-02-24 23:17:59 +01:00 • committed by Kristian Høgsberg
commit b8a3be5f34
2 changed files with 13 additions and 0 deletions

View file

@ -2303,6 +2303,9 @@ ConfigureWindow(WindowPtr pWin, Mask mask, XID *vlist, ClientPtr client)
return(Success);
ActuallyDoSomething:
if (pWin->drawable.pScreen->ConfigNotify)
(*pWin->drawable.pScreen->ConfigNotify)(pWin, x, y, w, h, bw, pSib);
if (SubStrSend(pWin, pParent))
{
memset(&event, 0, sizeof(xEvent));