riscos: Don't reset mouse focus when recreating the window SDL-1.2
authorCameron Cawley
Fri, 17 Aug 2018 21:18:31 +0100
branchSDL-1.2
changeset 127745b49f9ec7036
parent 12773 496c64c1d9c3
child 12775 1f43bff960f8
riscos: Don't reset mouse focus when recreating the window
src/video/riscos/SDL_wimpvideo.c
     1.1 --- a/src/video/riscos/SDL_wimpvideo.c	Fri Aug 17 23:21:56 2018 +0100
     1.2 +++ b/src/video/riscos/SDL_wimpvideo.c	Fri Aug 17 21:18:31 2018 +0100
     1.3 @@ -72,7 +72,6 @@
     1.4  extern int RISCOS_ToggleFullScreen(_THIS, int fullscreen);
     1.5  
     1.6  extern int riscos_backbuffer;
     1.7 -extern int mouseInWindow;
     1.8  extern int riscos_closeaction;
     1.9  
    1.10  /* Following needed to ensure window is shown immediately */
    1.11 @@ -253,8 +252,6 @@
    1.12  	int y = (this->hidden->screen_height - surface->h) / 2;
    1.13  	int xeig = this->hidden->xeig;
    1.14  	int yeig = this->hidden->yeig;
    1.15 -
    1.16 -    mouseInWindow = 0;
    1.17      
    1.18  	/* Always delete the window and recreate on a change */
    1.19  	if (this->hidden->window_handle) WIMP_DeleteWindow(this);