mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-14 00:01:20 +00:00
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:
parent
67a8c659f2
commit
b8a3be5f34
2 changed files with 13 additions and 0 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue