diff options
author | Francisco Jerez <currojerez@riseup.net> | 2010-02-24 23:17:59 +0100 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-03-16 09:51:08 -0400 |
commit | b8a3be5f34016b745e38cd53825a4e398c6127bc (patch) | |
tree | dda6762bf6ea8f1ce90c09dd6655212b4a346570 /include | |
parent | 67a8c659f25218904bae64aac6e98e326c90330b (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/scrnintstr.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/scrnintstr.h b/include/scrnintstr.h index ab50e7a32..c42119d0d 100644 --- a/include/scrnintstr.h +++ b/include/scrnintstr.h @@ -399,6 +399,15 @@ typedef void (* PostChangeSaveUnderProcPtr)( WindowPtr /*pLayerWin*/, WindowPtr /*firstChild*/); +typedef void (* ConfigNotifyProcPtr)( + WindowPtr /*pWin*/, + int /*x*/, + int /*y*/, + int /*w*/, + int /*h*/, + int /*bw*/, + WindowPtr /*pSib*/); + typedef void (* MoveWindowProcPtr)( WindowPtr /*pWin*/, int /*x*/, @@ -581,6 +590,7 @@ typedef struct _Screen { MarkOverlappedWindowsProcPtr MarkOverlappedWindows; ChangeSaveUnderProcPtr ChangeSaveUnder; PostChangeSaveUnderProcPtr PostChangeSaveUnder; + ConfigNotifyProcPtr ConfigNotify; MoveWindowProcPtr MoveWindow; ResizeWindowProcPtr ResizeWindow; GetLayerWindowProcPtr GetLayerWindow; |