Add SDL_test test suite; add fuzzer test cases; fix fuzzer bug; fix compiler warnings
This commit is contained in:
parent
4e861f19ca
commit
da76be8927
8 changed files with 148 additions and 5 deletions
|
@ -557,7 +557,7 @@ WIN_SetWindowGrab(_THIS, SDL_Window * window, SDL_bool grabbed)
|
|||
{
|
||||
HWND top;
|
||||
SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
|
||||
HWND hwnd = ((SDL_WindowData *) window->driverdata)->hwnd;
|
||||
HWND hwnd = data->hwnd;
|
||||
UINT flags = SWP_NOMOVE | SWP_NOSIZE;
|
||||
|
||||
if ( SDL_ShouldAllowTopmost() && (window->flags & SDL_WINDOW_INPUT_FOCUS ) ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue