hw/xwin: Remove unused HotKeyAltTab engine function
This was only ever used by the primaryfb engine, removed in commit c79f824b
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
7bd25aa843
commit
fa6f9d06a3
|
@ -287,8 +287,6 @@ typedef Bool (*winCreateColormapProcPtr) (ColormapPtr pColormap);
|
||||||
|
|
||||||
typedef Bool (*winDestroyColormapProcPtr) (ColormapPtr pColormap);
|
typedef Bool (*winDestroyColormapProcPtr) (ColormapPtr pColormap);
|
||||||
|
|
||||||
typedef Bool (*winHotKeyAltTabProcPtr) (ScreenPtr);
|
|
||||||
|
|
||||||
typedef Bool (*winCreatePrimarySurfaceProcPtr) (ScreenPtr);
|
typedef Bool (*winCreatePrimarySurfaceProcPtr) (ScreenPtr);
|
||||||
|
|
||||||
typedef Bool (*winReleasePrimarySurfaceProcPtr) (ScreenPtr);
|
typedef Bool (*winReleasePrimarySurfaceProcPtr) (ScreenPtr);
|
||||||
|
@ -522,7 +520,6 @@ typedef struct _winPrivScreenRec {
|
||||||
winStoreColorsProcPtr pwinStoreColors;
|
winStoreColorsProcPtr pwinStoreColors;
|
||||||
winCreateColormapProcPtr pwinCreateColormap;
|
winCreateColormapProcPtr pwinCreateColormap;
|
||||||
winDestroyColormapProcPtr pwinDestroyColormap;
|
winDestroyColormapProcPtr pwinDestroyColormap;
|
||||||
winHotKeyAltTabProcPtr pwinHotKeyAltTab;
|
|
||||||
winCreatePrimarySurfaceProcPtr pwinCreatePrimarySurface;
|
winCreatePrimarySurfaceProcPtr pwinCreatePrimarySurface;
|
||||||
winReleasePrimarySurfaceProcPtr pwinReleasePrimarySurface;
|
winReleasePrimarySurfaceProcPtr pwinReleasePrimarySurface;
|
||||||
|
|
||||||
|
|
|
@ -1211,8 +1211,6 @@ winSetEngineFunctionsShadowDDNL(ScreenPtr pScreen)
|
||||||
pScreenPriv->pwinStoreColors = winStoreColorsShadowDDNL;
|
pScreenPriv->pwinStoreColors = winStoreColorsShadowDDNL;
|
||||||
pScreenPriv->pwinCreateColormap = winCreateColormapShadowDDNL;
|
pScreenPriv->pwinCreateColormap = winCreateColormapShadowDDNL;
|
||||||
pScreenPriv->pwinDestroyColormap = winDestroyColormapShadowDDNL;
|
pScreenPriv->pwinDestroyColormap = winDestroyColormapShadowDDNL;
|
||||||
pScreenPriv->pwinHotKeyAltTab =
|
|
||||||
(winHotKeyAltTabProcPtr) (void (*)(void)) NoopDDA;
|
|
||||||
pScreenPriv->pwinCreatePrimarySurface = winCreatePrimarySurfaceShadowDDNL;
|
pScreenPriv->pwinCreatePrimarySurface = winCreatePrimarySurfaceShadowDDNL;
|
||||||
pScreenPriv->pwinReleasePrimarySurface = winReleasePrimarySurfaceShadowDDNL;
|
pScreenPriv->pwinReleasePrimarySurface = winReleasePrimarySurfaceShadowDDNL;
|
||||||
#ifdef XWIN_MULTIWINDOW
|
#ifdef XWIN_MULTIWINDOW
|
||||||
|
|
|
@ -1143,8 +1143,6 @@ winSetEngineFunctionsShadowGDI(ScreenPtr pScreen)
|
||||||
pScreenPriv->pwinStoreColors = winStoreColorsShadowGDI;
|
pScreenPriv->pwinStoreColors = winStoreColorsShadowGDI;
|
||||||
pScreenPriv->pwinCreateColormap = winCreateColormapShadowGDI;
|
pScreenPriv->pwinCreateColormap = winCreateColormapShadowGDI;
|
||||||
pScreenPriv->pwinDestroyColormap = winDestroyColormapShadowGDI;
|
pScreenPriv->pwinDestroyColormap = winDestroyColormapShadowGDI;
|
||||||
pScreenPriv->pwinHotKeyAltTab =
|
|
||||||
(winHotKeyAltTabProcPtr) (void (*)(void)) NoopDDA;
|
|
||||||
pScreenPriv->pwinCreatePrimarySurface =
|
pScreenPriv->pwinCreatePrimarySurface =
|
||||||
(winCreatePrimarySurfaceProcPtr) (void (*)(void)) NoopDDA;
|
(winCreatePrimarySurfaceProcPtr) (void (*)(void)) NoopDDA;
|
||||||
pScreenPriv->pwinReleasePrimarySurface =
|
pScreenPriv->pwinReleasePrimarySurface =
|
||||||
|
|
|
@ -1107,14 +1107,6 @@ winWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
winFixShiftKeys(iScanCode);
|
winFixShiftKeys(iScanCode);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case WM_HOTKEY:
|
|
||||||
if (s_pScreenPriv == NULL)
|
|
||||||
break;
|
|
||||||
|
|
||||||
/* Call the engine-specific hot key handler */
|
|
||||||
(*s_pScreenPriv->pwinHotKeyAltTab) (s_pScreen);
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
case WM_ACTIVATE:
|
case WM_ACTIVATE:
|
||||||
if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput)
|
if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue