hw/xwin: Remove unused FinishCreateWindowsWindow engine function
This only ever had an (unused) implementation in the DDNL engine, which was
removed in commit 57bbf6e2
.
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
fa6f9d06a3
commit
a309085a56
|
@ -291,8 +291,6 @@ typedef Bool (*winCreatePrimarySurfaceProcPtr) (ScreenPtr);
|
||||||
|
|
||||||
typedef Bool (*winReleasePrimarySurfaceProcPtr) (ScreenPtr);
|
typedef Bool (*winReleasePrimarySurfaceProcPtr) (ScreenPtr);
|
||||||
|
|
||||||
typedef Bool (*winFinishCreateWindowsWindowProcPtr) (WindowPtr pWin);
|
|
||||||
|
|
||||||
typedef Bool (*winCreateScreenResourcesProc) (ScreenPtr);
|
typedef Bool (*winCreateScreenResourcesProc) (ScreenPtr);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -522,14 +520,8 @@ typedef struct _winPrivScreenRec {
|
||||||
winDestroyColormapProcPtr pwinDestroyColormap;
|
winDestroyColormapProcPtr pwinDestroyColormap;
|
||||||
winCreatePrimarySurfaceProcPtr pwinCreatePrimarySurface;
|
winCreatePrimarySurfaceProcPtr pwinCreatePrimarySurface;
|
||||||
winReleasePrimarySurfaceProcPtr pwinReleasePrimarySurface;
|
winReleasePrimarySurfaceProcPtr pwinReleasePrimarySurface;
|
||||||
|
|
||||||
winCreateScreenResourcesProc pwinCreateScreenResources;
|
winCreateScreenResourcesProc pwinCreateScreenResources;
|
||||||
|
|
||||||
#ifdef XWIN_MULTIWINDOW
|
|
||||||
/* Window Procedures for MultiWindow mode */
|
|
||||||
winFinishCreateWindowsWindowProcPtr pwinFinishCreateWindowsWindow;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Window Procedures for Rootless mode */
|
/* Window Procedures for Rootless mode */
|
||||||
CreateWindowProcPtr CreateWindow;
|
CreateWindowProcPtr CreateWindow;
|
||||||
DestroyWindowProcPtr DestroyWindow;
|
DestroyWindowProcPtr DestroyWindow;
|
||||||
|
|
|
@ -485,7 +485,6 @@ winCreateWindowsWindow(WindowPtr pWin)
|
||||||
HWND hFore = NULL;
|
HWND hFore = NULL;
|
||||||
|
|
||||||
winWindowPriv(pWin);
|
winWindowPriv(pWin);
|
||||||
winPrivScreenPtr pScreenPriv = pWinPriv->pScreenPriv;
|
|
||||||
WinXSizeHints hints;
|
WinXSizeHints hints;
|
||||||
Window daddyId;
|
Window daddyId;
|
||||||
DWORD dwStyle, dwExStyle;
|
DWORD dwStyle, dwExStyle;
|
||||||
|
@ -606,9 +605,6 @@ winCreateWindowsWindow(WindowPtr pWin)
|
||||||
|
|
||||||
/* Flag that this Windows window handles its own activation */
|
/* Flag that this Windows window handles its own activation */
|
||||||
SetProp(hWnd, WIN_NEEDMANAGE_PROP, (HANDLE) 0);
|
SetProp(hWnd, WIN_NEEDMANAGE_PROP, (HANDLE) 0);
|
||||||
|
|
||||||
/* Call engine-specific create window procedure */
|
|
||||||
(*pScreenPriv->pwinFinishCreateWindowsWindow) (pWin);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool winInDestroyWindowsWindow = FALSE;
|
Bool winInDestroyWindowsWindow = FALSE;
|
||||||
|
|
|
@ -1213,10 +1213,6 @@ winSetEngineFunctionsShadowDDNL(ScreenPtr pScreen)
|
||||||
pScreenPriv->pwinDestroyColormap = winDestroyColormapShadowDDNL;
|
pScreenPriv->pwinDestroyColormap = winDestroyColormapShadowDDNL;
|
||||||
pScreenPriv->pwinCreatePrimarySurface = winCreatePrimarySurfaceShadowDDNL;
|
pScreenPriv->pwinCreatePrimarySurface = winCreatePrimarySurfaceShadowDDNL;
|
||||||
pScreenPriv->pwinReleasePrimarySurface = winReleasePrimarySurfaceShadowDDNL;
|
pScreenPriv->pwinReleasePrimarySurface = winReleasePrimarySurfaceShadowDDNL;
|
||||||
#ifdef XWIN_MULTIWINDOW
|
|
||||||
pScreenPriv->pwinFinishCreateWindowsWindow
|
|
||||||
= (winFinishCreateWindowsWindowProcPtr) (void (*)(void)) NoopDDA;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1147,10 +1147,6 @@ winSetEngineFunctionsShadowGDI(ScreenPtr pScreen)
|
||||||
(winCreatePrimarySurfaceProcPtr) (void (*)(void)) NoopDDA;
|
(winCreatePrimarySurfaceProcPtr) (void (*)(void)) NoopDDA;
|
||||||
pScreenPriv->pwinReleasePrimarySurface =
|
pScreenPriv->pwinReleasePrimarySurface =
|
||||||
(winReleasePrimarySurfaceProcPtr) (void (*)(void)) NoopDDA;
|
(winReleasePrimarySurfaceProcPtr) (void (*)(void)) NoopDDA;
|
||||||
#ifdef XWIN_MULTIWINDOW
|
|
||||||
pScreenPriv->pwinFinishCreateWindowsWindow =
|
|
||||||
(winFinishCreateWindowsWindowProcPtr) (void (*)(void)) NoopDDA;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue