Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Restore the window title when the title bar is re-added to the window.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 26, 2011
1 parent 90db455 commit 4e860c0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/video/cocoa/SDL_cocoawindow.m
Expand Up @@ -825,6 +825,11 @@ - (void)rightMouseDown:(NSEvent *)theEvent
[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! */
Expand Down

0 comments on commit 4e860c0

Please sign in to comment.