src/video/gem/SDL_gemevents.c
branchSDL-1.2
changeset 11576 b3255371e439
parent 11569 eacc3725d279
child 11608 850f1a16dc81
equal deleted inserted replaced
11571:49fa2a49574b 11576:b3255371e439
   212 				VDI_setpalette(this, VDI_curpalette);
   212 				VDI_setpalette(this, VDI_curpalette);
   213 			}
   213 			}
   214 			break;
   214 			break;
   215 		case WM_REDRAW:
   215 		case WM_REDRAW:
   216 			if (!GEM_lock_redraw) {
   216 			if (!GEM_lock_redraw) {
   217 				GEM_wind_redraw(this, message[3],&message[4]);
   217 				GEM_wind_redraw(this, message[3], &message[4], SDL_FALSE);
   218 			}
   218 			}
   219 			break;
   219 			break;
   220 		case WM_ICONIFY:
   220 		case WM_ICONIFY:
   221 		case WM_ALLICONIFY:
   221 		case WM_ALLICONIFY:
   222 			wind_set (message[3],WF_ICONIFY,message[4],message[5],message[6],message[7]);
   222 			wind_set (message[3],WF_ICONIFY,message[4],message[5],message[6],message[7]);
   288 			}
   288 			}
   289 			break;
   289 			break;
   290 	}
   290 	}
   291 
   291 
   292 	if (update_work_area) {
   292 	if (update_work_area) {
   293 		GEM_align_work_area(this, message[3], 1);
   293 		GEM_align_work_area(this, message[3], SDL_TRUE);
   294 
   294 
   295 		if (sdl_resize) {
   295 		if (sdl_resize) {
   296 			SDL_PrivateResize(GEM_work_w, GEM_work_h);
   296 			SDL_PrivateResize(GEM_work_w, GEM_work_h);
   297 		}
   297 		}
   298 	}
   298 	}