From b28d8e8106bc6fe65f1dd378115fc21dbdc3b7e9 Mon Sep 17 00:00:00 2001 From: Kazuki Sakamoto Date: Thu, 5 Nov 2015 20:35:12 -0800 Subject: [PATCH] Fix showtabline=2/0 redraw issue similar with #64 --- src/MacVim/MMVimController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MacVim/MMVimController.m b/src/MacVim/MMVimController.m index 45a1e12abc..dcd6fa4ff3 100644 --- a/src/MacVim/MMVimController.m +++ b/src/MacVim/MMVimController.m @@ -574,8 +574,10 @@ static BOOL isUnsafeMessage(int msgid); [windowController updateTabsWithData:data]; } else if (ShowTabBarMsgID == msgid) { [windowController showTabBar:YES]; + [self sendMessage:BackingPropertiesChangedMsgID data:nil]; } else if (HideTabBarMsgID == msgid) { [windowController showTabBar:NO]; + [self sendMessage:BackingPropertiesChangedMsgID data:nil]; } else if (SetTextDimensionsMsgID == msgid || LiveResizeMsgID == msgid || SetTextDimensionsReplyMsgID == msgid) { const void *bytes = [data bytes];