(!1705) xwin: drop wrapping on ScreenRec->RestackWindow()
This proc vector is optional (callers check for non-null) and neither fb nor mi set it, so we can just assign our function directly. No need for wrapping. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
3d99c87d39
commit
7ca497cc96
|
@ -503,7 +503,6 @@ typedef struct _winPrivScreenRec {
|
|||
PostValidateTreeProcPtr PostValidateTree;
|
||||
ClearToBackgroundProcPtr ClearToBackground;
|
||||
ClipNotifyProcPtr ClipNotify;
|
||||
RestackWindowProcPtr RestackWindow;
|
||||
ResizeWindowProcPtr ResizeWindow;
|
||||
MoveWindowProcPtr MoveWindow;
|
||||
ModifyPixmapHeaderProcPtr ModifyPixmapHeader;
|
||||
|
|
|
@ -400,11 +400,6 @@ winRestackWindowMultiWindow(WindowPtr pWin, WindowPtr pOldNextSib)
|
|||
winTrace("winRestackMultiWindow - %p\n", pWin);
|
||||
#endif
|
||||
|
||||
WIN_UNWRAP(RestackWindow);
|
||||
if (pScreen->RestackWindow)
|
||||
(*pScreen->RestackWindow) (pWin, pOldNextSib);
|
||||
WIN_WRAP(RestackWindow, winRestackWindowMultiWindow);
|
||||
|
||||
#if 1
|
||||
/*
|
||||
* Calling winReorderWindowsMultiWindow here means our window manager
|
||||
|
|
|
@ -402,7 +402,6 @@ winFinishScreenInitFB(int i, ScreenPtr pScreen, int argc, char **argv)
|
|||
}
|
||||
|
||||
/* Save a pointer to each lower-level window procedure */
|
||||
WRAP(RestackWindow);
|
||||
WRAP(ResizeWindow);
|
||||
WRAP(MoveWindow);
|
||||
WRAP(ModifyPixmapHeader);
|
||||
|
|
Loading…
Reference in New Issue