Raise the window when calling SDL_SetVideoMode.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 21 Feb 2019 00:14:13 -0500
changeset 80daac8eff8bce
parent 79 e241008503b0
child 81 f41fab5c1927
Raise the window when calling SDL_SetVideoMode.
src/SDL12_compat.c
src/SDL20_syms.h
     1.1 --- a/src/SDL12_compat.c	Thu Feb 21 00:04:17 2019 -0500
     1.2 +++ b/src/SDL12_compat.c	Thu Feb 21 00:14:13 2019 -0500
     1.3 @@ -2600,6 +2600,8 @@
     1.4          }
     1.5      }
     1.6  
     1.7 +    SDL20_RaiseWindow(VideoWindow20);
     1.8 +
     1.9      FIXME("setup screen saver");
    1.10  
    1.11      return VideoSurface12;
     2.1 --- a/src/SDL20_syms.h	Thu Feb 21 00:04:17 2019 -0500
     2.2 +++ b/src/SDL20_syms.h	Thu Feb 21 00:14:13 2019 -0500
     2.3 @@ -72,6 +72,7 @@
     2.4  SDL20_SYM(void,SetWindowSize,(SDL_Window *a, int b, int c),(a,b,c),)
     2.5  SDL20_SYM(void,GetWindowSize,(SDL_Window *a, int *b, int *c),(a,b,c),)
     2.6  SDL20_SYM(void,MinimizeWindow,(SDL_Window *a),(a),)
     2.7 +SDL20_SYM(void,RaiseWindow,(SDL_Window *a),(a),)
     2.8  SDL20_SYM(int,SetWindowGammaRamp,(SDL_Window *a,const Uint16 *b,const Uint16 *c,const Uint16 *d),(a,b,c,d),return)
     2.9  SDL20_SYM(int,GetWindowGammaRamp,(SDL_Window *a,Uint16 *b,Uint16 *c,Uint16 *d),(a,b,c,d),return)
    2.10  SDL20_SYM(Uint32,GetWindowFlags,(SDL_Window *a),(a),return)