Skip to content

Commit

Permalink
Set represented filename for full screen window
Browse files Browse the repository at this point in the history
This fixes a bug which caused DTerm not to work when in full screen
mode.
  • Loading branch information
dmitryelastic authored and b4winckler committed Oct 1, 2010
1 parent fdd289b commit 24b70eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/MacVim/MMWindowController.m
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ - (void)setDocumentFilename:(NSString *)filename
filename = @"";

[decoratedWindow setRepresentedFilename:filename];
[fullscreenWindow setRepresentedFilename:filename];
}

- (void)setToolbar:(NSToolbar *)toolbar
Expand Down Expand Up @@ -610,6 +611,8 @@ - (void)enterFullscreen:(int)fuoptions backgroundColor:(NSColor *)back
initWithWindow:decoratedWindow view:vimView backgroundColor:back];
[fullscreenWindow enterFullscreen:fuoptions];
[fullscreenWindow setDelegate:self];
[fullscreenWindow setRepresentedFilename:
[decoratedWindow representedFilename]];
fullscreenEnabled = YES;

// The resize handle disappears so the vim view needs to update the
Expand Down

0 comments on commit 24b70eb

Please sign in to comment.