src/video/gem/SDL_gemevents.c
changeset 1091 67b7f0f410a2
parent 1090 37fc855580af
child 1092 1f37386ef508
     1.1 --- a/src/video/gem/SDL_gemevents.c	Thu Jul 07 15:06:38 2005 +0000
     1.2 +++ b/src/video/gem/SDL_gemevents.c	Thu Jul 07 15:29:38 2005 +0000
     1.3 @@ -248,6 +248,8 @@
     1.4  			break;
     1.5  		case WM_TOPPED:
     1.6  			wind_set(message[3],WF_TOP,message[4],0,0,0);
     1.7 +			/* Continue with TOP event processing */
     1.8 +		case WM_ONTOP:
     1.9  			SDL_PrivateAppActive(1, SDL_APPINPUTFOCUS);
    1.10  			if (VDI_setpalette) {
    1.11  				VDI_setpalette(this, VDI_curpalette);
    1.12 @@ -312,8 +314,9 @@
    1.13  			}
    1.14  			break;
    1.15  		case WM_BOTTOMED:
    1.16 +			wind_set(message[3],WF_BOTTOM,0,0,0,0);
    1.17 +			/* Continue with BOTTOM event processing */
    1.18  		case WM_UNTOPPED:
    1.19 -			wind_set(message[3],WF_BOTTOM,message[4],0,0,0);
    1.20  			SDL_PrivateAppActive(0, SDL_APPINPUTFOCUS);
    1.21  			if (VDI_setpalette) {
    1.22  				VDI_setpalette(this, VDI_oldpalette);