Restore the window title when the title bar is re-added to the window.
This commit is contained in:
parent
fbdf7429d5
commit
9c8d95eab0
1 changed files with 5 additions and 0 deletions
|
@ -825,6 +825,11 @@ Cocoa_SetWindowFullscreen(_THIS, SDL_Window * window, SDL_VideoDisplay * display
|
|||
[nswindow setContentSize:rect.size];
|
||||
s_moveHack = SDL_GetTicks();
|
||||
|
||||
/* When the window style changes the title is cleared */
|
||||
if (!fullscreen) {
|
||||
Cocoa_SetWindowTitle(_this, window);
|
||||
}
|
||||
|
||||
#ifdef FULLSCREEN_TOGGLEABLE
|
||||
if (fullscreen) {
|
||||
/* OpenGL is rendering to the window, so make it visible! */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue