src/video/gem/SDL_gemevents.c
branchSDL-1.2
changeset 11568 6fbdeeef1935
parent 11561 e990d334b75a
child 11569 eacc3725d279
     1.1 --- a/src/video/gem/SDL_gemevents.c	Wed Oct 04 23:27:35 2017 +0200
     1.2 +++ b/src/video/gem/SDL_gemevents.c	Sat Oct 07 00:10:57 2017 +0200
     1.3 @@ -233,7 +233,8 @@
     1.4  					0,0);
     1.5  				GEM_refresh_name = SDL_FALSE;
     1.6  			}
     1.7 -			update_work_area = iconified = 1;
     1.8 +			GEM_iconified = SDL_TRUE;
     1.9 +			update_work_area = 1;
    1.10  			break;
    1.11  		case WM_UNICONIFY:
    1.12  			wind_set (message[3],WF_UNICONIFY,message[4],message[5],message[6],message[7]);
    1.13 @@ -249,6 +250,7 @@
    1.14  					0,0);
    1.15  				GEM_refresh_name = SDL_FALSE;
    1.16  			}
    1.17 +			GEM_iconified = SDL_FALSE;
    1.18  			update_work_area = 1;
    1.19  			break;
    1.20  		case WM_SIZED:
    1.21 @@ -288,7 +290,7 @@
    1.22  	}
    1.23  
    1.24  	if (update_work_area) {
    1.25 -		GEM_align_work_area(this, message[3], 1, iconified);
    1.26 +		GEM_align_work_area(this, message[3], 1);
    1.27  
    1.28  		if (sdl_resize) {
    1.29  			SDL_PrivateResize(GEM_work_w, GEM_work_h);