mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
composite: use window destructor hook
Wrapping ScreenRec's function pointers is problematic for many reasons, so use the new window destructor hook instead. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -127,7 +127,6 @@ typedef struct _CompScreen {
|
||||
PositionWindowProcPtr PositionWindow;
|
||||
CopyWindowProcPtr CopyWindow;
|
||||
CreateWindowProcPtr CreateWindow;
|
||||
DestroyWindowProcPtr DestroyWindow;
|
||||
RealizeWindowProcPtr RealizeWindow;
|
||||
UnrealizeWindowProcPtr UnrealizeWindow;
|
||||
ClipNotifyProcPtr ClipNotify;
|
||||
@@ -308,8 +307,7 @@ void
|
||||
Bool
|
||||
compCreateWindow(WindowPtr pWin);
|
||||
|
||||
Bool
|
||||
compDestroyWindow(WindowPtr pWin);
|
||||
void compWindowDestroy(CallbackListPtr *pcbl, ScreenPtr pScreen, WindowPtr pWin);
|
||||
|
||||
void
|
||||
compSetRedirectBorderClip(WindowPtr pWin, RegionPtr pRegion);
|
||||
|
||||
Reference in New Issue
Block a user