diff --git a/src/MacVim/MMVimController.m b/src/MacVim/MMVimController.m index b053a567bd..130a5104d4 100644 --- a/src/MacVim/MMVimController.m +++ b/src/MacVim/MMVimController.m @@ -682,7 +682,11 @@ static BOOL isUnsafeMessage(int msgid); NSString *string = [[NSString alloc] initWithBytes:(void*)bytes length:len encoding:NSUTF8StringEncoding]; - [windowController setTitle:string]; + // While in live resize the window title displays the dimensions of the + // window so don't clobber this with a spurious "set title" message + // from Vim. + if (![[windowController vimView] inLiveResize]) + [windowController setTitle:string]; [string release]; } else if (SetDocumentFilenameMsgID == msgid) { diff --git a/src/MacVim/MMWindowController.m b/src/MacVim/MMWindowController.m index dbc1aa8b24..169fb284d0 100644 --- a/src/MacVim/MMWindowController.m +++ b/src/MacVim/MMWindowController.m @@ -308,10 +308,8 @@ - (void)setTitle:(NSString *)title { - if (title) { + if (title) [decoratedWindow setTitle:title]; - [fullscreenWindow setTitle:title]; - } } - (void)setDocumentFilename:(NSString *)filename