Skip to content

Commit 13b3544

Browse files
committed
Reorder methods
1 parent 2c51e2c commit 13b3544

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/MacVim/MMWindowController.m

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,15 +1227,6 @@ - (void)windowDidEnterFullScreen:(NSNotification *)notification
12271227
}
12281228
}
12291229

1230-
- (void)windowDidExitFullScreen:(NSNotification *)notification
1231-
{
1232-
if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_10_Max) {
1233-
// NOTE: On El Capitan, we need to redraw the view when leaving
1234-
// full-screen by moving the window out from Split View.
1235-
[vimController sendMessage:BackingPropertiesChangedMsgID data:nil];
1236-
}
1237-
}
1238-
12391230
- (void)windowDidFailToEnterFullScreen:(NSWindow *)window
12401231
{
12411232
// NOTE: This message can be called without
@@ -1304,6 +1295,15 @@ - (void)windowWillExitFullScreen:(NSNotification *)notification
13041295
}
13051296
}
13061297

1298+
- (void)windowDidExitFullScreen:(NSNotification *)notification
1299+
{
1300+
if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_10_Max) {
1301+
// NOTE: On El Capitan, we need to redraw the view when leaving
1302+
// full-screen by moving the window out from Split View.
1303+
[vimController sendMessage:BackingPropertiesChangedMsgID data:nil];
1304+
}
1305+
}
1306+
13071307
- (void)windowDidFailToExitFullScreen:(NSWindow *)window
13081308
{
13091309
// TODO: Is this the correct way to deal with this message? Are we still

0 commit comments

Comments
 (0)