(!1705) xwin: drop wrapping on ScreenRec->ReparentWindow()
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
7eee4fbc76
commit
3d99c87d39
|
@ -504,7 +504,6 @@ typedef struct _winPrivScreenRec {
|
|||
ClearToBackgroundProcPtr ClearToBackground;
|
||||
ClipNotifyProcPtr ClipNotify;
|
||||
RestackWindowProcPtr RestackWindow;
|
||||
ReparentWindowProcPtr ReparentWindow;
|
||||
ResizeWindowProcPtr ResizeWindow;
|
||||
MoveWindowProcPtr MoveWindow;
|
||||
ModifyPixmapHeaderProcPtr ModifyPixmapHeader;
|
||||
|
|
|
@ -375,11 +375,6 @@ winReparentWindowMultiWindow(WindowPtr pWin, WindowPtr pPriorParent)
|
|||
pPriorParent, (unsigned int)pPriorParent->drawable.id,
|
||||
pWin->parent, (unsigned int)pWin->parent->drawable.id);
|
||||
|
||||
WIN_UNWRAP(ReparentWindow);
|
||||
if (pScreen->ReparentWindow)
|
||||
(*pScreen->ReparentWindow) (pWin, pPriorParent);
|
||||
WIN_WRAP(ReparentWindow, winReparentWindowMultiWindow);
|
||||
|
||||
/* Update the Windows window associated with this X window */
|
||||
winUpdateWindowsWindow(pWin);
|
||||
}
|
||||
|
|
|
@ -402,7 +402,6 @@ winFinishScreenInitFB(int i, ScreenPtr pScreen, int argc, char **argv)
|
|||
}
|
||||
|
||||
/* Save a pointer to each lower-level window procedure */
|
||||
WRAP(ReparentWindow);
|
||||
WRAP(RestackWindow);
|
||||
WRAP(ResizeWindow);
|
||||
WRAP(MoveWindow);
|
||||
|
|
Loading…
Reference in New Issue