Removed non-functional window grab implementations

This commit is contained in:
Sam Lantinga 2021-01-25 20:03:21 -08:00
parent a0d3c6c63c
commit f23022ef97
8 changed files with 0 additions and 27 deletions

View File

@ -233,7 +233,6 @@ KMSDRM_CreateDevice(int devindex)
device->MaximizeWindow = KMSDRM_MaximizeWindow; device->MaximizeWindow = KMSDRM_MaximizeWindow;
device->MinimizeWindow = KMSDRM_MinimizeWindow; device->MinimizeWindow = KMSDRM_MinimizeWindow;
device->RestoreWindow = KMSDRM_RestoreWindow; device->RestoreWindow = KMSDRM_RestoreWindow;
device->SetWindowMouseGrab = KMSDRM_SetWindowMouseGrab;
device->DestroyWindow = KMSDRM_DestroyWindow; device->DestroyWindow = KMSDRM_DestroyWindow;
device->GetWindowWMInfo = KMSDRM_GetWindowWMInfo; device->GetWindowWMInfo = KMSDRM_GetWindowWMInfo;
@ -1318,11 +1317,6 @@ KMSDRM_MinimizeWindow(_THIS, SDL_Window * window)
void void
KMSDRM_RestoreWindow(_THIS, SDL_Window * window) KMSDRM_RestoreWindow(_THIS, SDL_Window * window)
{ {
}
void
KMSDRM_SetWindowMouseGrab(_THIS, SDL_Window * window, SDL_bool grabbed)
{
} }
/*****************************************************************************/ /*****************************************************************************/

View File

@ -138,7 +138,6 @@ void KMSDRM_RaiseWindow(_THIS, SDL_Window * window);
void KMSDRM_MaximizeWindow(_THIS, SDL_Window * window); void KMSDRM_MaximizeWindow(_THIS, SDL_Window * window);
void KMSDRM_MinimizeWindow(_THIS, SDL_Window * window); void KMSDRM_MinimizeWindow(_THIS, SDL_Window * window);
void KMSDRM_RestoreWindow(_THIS, SDL_Window * window); void KMSDRM_RestoreWindow(_THIS, SDL_Window * window);
void KMSDRM_SetWindowMouseGrab(_THIS, SDL_Window * window, SDL_bool grabbed);
void KMSDRM_DestroyWindow(_THIS, SDL_Window * window); void KMSDRM_DestroyWindow(_THIS, SDL_Window * window);
/* Window manager function */ /* Window manager function */

View File

@ -114,7 +114,6 @@ PND_create()
device->MaximizeWindow = PND_maximizewindow; device->MaximizeWindow = PND_maximizewindow;
device->MinimizeWindow = PND_minimizewindow; device->MinimizeWindow = PND_minimizewindow;
device->RestoreWindow = PND_restorewindow; device->RestoreWindow = PND_restorewindow;
device->SetWindowMouseGrab = PND_setwindowgrab;
device->DestroyWindow = PND_destroywindow; device->DestroyWindow = PND_destroywindow;
#if 0 #if 0
device->GetWindowWMInfo = PND_getwindowwminfo; device->GetWindowWMInfo = PND_getwindowwminfo;
@ -287,10 +286,6 @@ PND_restorewindow(_THIS, SDL_Window * window)
{ {
} }
void void
PND_setwindowgrab(_THIS, SDL_Window * window, SDL_bool grabbed)
{
}
void
PND_destroywindow(_THIS, SDL_Window * window) PND_destroywindow(_THIS, SDL_Window * window)
{ {
SDL_VideoData *phdata = (SDL_VideoData *) _this->driverdata; SDL_VideoData *phdata = (SDL_VideoData *) _this->driverdata;

View File

@ -77,7 +77,6 @@ void PND_raisewindow(_THIS, SDL_Window * window);
void PND_maximizewindow(_THIS, SDL_Window * window); void PND_maximizewindow(_THIS, SDL_Window * window);
void PND_minimizewindow(_THIS, SDL_Window * window); void PND_minimizewindow(_THIS, SDL_Window * window);
void PND_restorewindow(_THIS, SDL_Window * window); void PND_restorewindow(_THIS, SDL_Window * window);
void PND_setwindowgrab(_THIS, SDL_Window * window, SDL_bool grabbed);
void PND_destroywindow(_THIS, SDL_Window * window); void PND_destroywindow(_THIS, SDL_Window * window);
/* Window manager function */ /* Window manager function */

View File

@ -112,7 +112,6 @@ PSP_Create()
device->MaximizeWindow = PSP_MaximizeWindow; device->MaximizeWindow = PSP_MaximizeWindow;
device->MinimizeWindow = PSP_MinimizeWindow; device->MinimizeWindow = PSP_MinimizeWindow;
device->RestoreWindow = PSP_RestoreWindow; device->RestoreWindow = PSP_RestoreWindow;
device->SetWindowMouseGrab = PSP_SetWindowMouseGrab;
device->DestroyWindow = PSP_DestroyWindow; device->DestroyWindow = PSP_DestroyWindow;
#if 0 #if 0
device->GetWindowWMInfo = PSP_GetWindowWMInfo; device->GetWindowWMInfo = PSP_GetWindowWMInfo;
@ -265,11 +264,6 @@ PSP_MinimizeWindow(_THIS, SDL_Window * window)
void void
PSP_RestoreWindow(_THIS, SDL_Window * window) PSP_RestoreWindow(_THIS, SDL_Window * window)
{ {
}
void
PSP_SetWindowMouseGrab(_THIS, SDL_Window * window, SDL_bool grabbed)
{
} }
void void
PSP_DestroyWindow(_THIS, SDL_Window * window) PSP_DestroyWindow(_THIS, SDL_Window * window)

View File

@ -73,7 +73,6 @@ void PSP_RaiseWindow(_THIS, SDL_Window * window);
void PSP_MaximizeWindow(_THIS, SDL_Window * window); void PSP_MaximizeWindow(_THIS, SDL_Window * window);
void PSP_MinimizeWindow(_THIS, SDL_Window * window); void PSP_MinimizeWindow(_THIS, SDL_Window * window);
void PSP_RestoreWindow(_THIS, SDL_Window * window); void PSP_RestoreWindow(_THIS, SDL_Window * window);
void PSP_SetWindowMouseGrab(_THIS, SDL_Window * window, SDL_bool grabbed);
void PSP_DestroyWindow(_THIS, SDL_Window * window); void PSP_DestroyWindow(_THIS, SDL_Window * window);
/* Window manager function */ /* Window manager function */

View File

@ -120,7 +120,6 @@ RPI_Create()
device->MaximizeWindow = RPI_MaximizeWindow; device->MaximizeWindow = RPI_MaximizeWindow;
device->MinimizeWindow = RPI_MinimizeWindow; device->MinimizeWindow = RPI_MinimizeWindow;
device->RestoreWindow = RPI_RestoreWindow; device->RestoreWindow = RPI_RestoreWindow;
device->SetWindowMouseGrab = RPI_SetWindowMouseGrab;
device->DestroyWindow = RPI_DestroyWindow; device->DestroyWindow = RPI_DestroyWindow;
#if 0 #if 0
device->GetWindowWMInfo = RPI_GetWindowWMInfo; device->GetWindowWMInfo = RPI_GetWindowWMInfo;
@ -420,11 +419,6 @@ RPI_MinimizeWindow(_THIS, SDL_Window * window)
void void
RPI_RestoreWindow(_THIS, SDL_Window * window) RPI_RestoreWindow(_THIS, SDL_Window * window)
{ {
}
void
RPI_SetWindowMouseGrab(_THIS, SDL_Window * window, SDL_bool grabbed)
{
} }
/*****************************************************************************/ /*****************************************************************************/

View File

@ -81,7 +81,6 @@ void RPI_RaiseWindow(_THIS, SDL_Window * window);
void RPI_MaximizeWindow(_THIS, SDL_Window * window); void RPI_MaximizeWindow(_THIS, SDL_Window * window);
void RPI_MinimizeWindow(_THIS, SDL_Window * window); void RPI_MinimizeWindow(_THIS, SDL_Window * window);
void RPI_RestoreWindow(_THIS, SDL_Window * window); void RPI_RestoreWindow(_THIS, SDL_Window * window);
void RPI_SetWindowMouseGrab(_THIS, SDL_Window * window, SDL_bool grabbed);
void RPI_DestroyWindow(_THIS, SDL_Window * window); void RPI_DestroyWindow(_THIS, SDL_Window * window);
/* Window manager function */ /* Window manager function */