src/video/cocoa/SDL_cocoawindow.m
changeset 7873 e88af17231bd
parent 7771 4434498bf4b9
child 7915 86ad156a82ab
equal deleted inserted replaced
7872:ca36ab2a8179 7873:e88af17231bd
  1056     if ([[nswindow contentView] nextResponder] != data->listener) {
  1056     if ([[nswindow contentView] nextResponder] != data->listener) {
  1057         [[nswindow contentView] setNextResponder:data->listener];
  1057         [[nswindow contentView] setNextResponder:data->listener];
  1058     }
  1058     }
  1059 
  1059 
  1060     s_moveHack = 0;
  1060     s_moveHack = 0;
       
  1061     [nswindow setContentSize:rect.size];
  1061     [nswindow setFrameOrigin:rect.origin];
  1062     [nswindow setFrameOrigin:rect.origin];
  1062     [nswindow setContentSize:rect.size];
       
  1063     s_moveHack = SDL_GetTicks();
  1063     s_moveHack = SDL_GetTicks();
  1064 
  1064 
  1065     /* When the window style changes the title is cleared */
  1065     /* When the window style changes the title is cleared */
  1066     if (!fullscreen) {
  1066     if (!fullscreen) {
  1067         Cocoa_SetWindowTitle(_this, window);
  1067         Cocoa_SetWindowTitle(_this, window);