src/video/x11/SDL_x11video.c
branchSDL-1.2
changeset 4016 3f93ccc2c01e
parent 4014 a6264945ac52
child 4067 07d621a03a94
equal deleted inserted replaced
4015:7e878cc4250a 4016:3f93ccc2c01e
  1201 		current->w = width;
  1201 		current->w = width;
  1202 		current->h = height;
  1202 		current->h = height;
  1203 		current->pitch = SDL_CalculatePitch(current);
  1203 		current->pitch = SDL_CalculatePitch(current);
  1204 		X11_ResizeImage(this, current, flags);
  1204 		X11_ResizeImage(this, current, flags);
  1205 	}
  1205 	}
       
  1206 
       
  1207 	/* Clear these flags and set them only if they are in the new set. */
       
  1208 	current->flags &= ~(SDL_RESIZABLE|SDL_NOFRAME);
  1206 	current->flags |= (flags&(SDL_RESIZABLE|SDL_NOFRAME));
  1209 	current->flags |= (flags&(SDL_RESIZABLE|SDL_NOFRAME));
  1207 
  1210 
  1208   done:
  1211   done:
  1209 	/* Release the event thread */
  1212 	/* Release the event thread */
  1210 	XSync(SDL_Display, False);
  1213 	XSync(SDL_Display, False);