From 9c8d577737cf523adce0306207dbb8a33b8aa63e Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 5 May 2014 19:57:20 +0200 Subject: Revert "Fix #2072 (only resize a tab if the size changed since the last display)" This reverts commit b46f0f5e266c321632738ca40839759486b47a7e. Conflicts: src/tabs/muclisttab.py Doing this made the unresized elements refresh in the old subwins, causing glitches and weirdness. And anyway, the only problematic element is the TextWin (rebuilding all the lines of a buffer is expensive), but it already checks if the width changed. --- src/core/core.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/core.py') diff --git a/src/core/core.py b/src/core/core.py index 88d8ea80..622cad78 100644 --- a/src/core/core.py +++ b/src/core/core.py @@ -1582,7 +1582,9 @@ class Core(object): self.resize_global_information_win() with g_lock: for tab in self.tabs: - if not config.get('lazy_resize', True): + if config.get('lazy_resize', True): + tab.need_resize = True + else: tab.resize() if self.tabs: self.full_screen_redraw() -- cgit v1.2.3