mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
(!1714) composite: use window position notify hook
Wrapping ScreenRec's function pointers is problematic for many reasons, so use the new window position notify hook instead. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -124,7 +124,6 @@ typedef struct _CompImplicitRedirectException {
|
||||
} CompImplicitRedirectException;
|
||||
|
||||
typedef struct _CompScreen {
|
||||
PositionWindowProcPtr PositionWindow;
|
||||
CopyWindowProcPtr CopyWindow;
|
||||
CreateWindowProcPtr CreateWindow;
|
||||
RealizeWindowProcPtr RealizeWindow;
|
||||
@@ -278,8 +277,9 @@ void
|
||||
Bool
|
||||
compCheckRedirect(WindowPtr pWin);
|
||||
|
||||
Bool
|
||||
compPositionWindow(WindowPtr pWin, int x, int y);
|
||||
void compWindowPosition(CallbackListPtr *pcbl,
|
||||
ScreenPtr pScreen,
|
||||
XorgScreenWindowPositionParamRec *param);
|
||||
|
||||
Bool
|
||||
compRealizeWindow(WindowPtr pWin);
|
||||
|
||||
Reference in New Issue
Block a user