summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-05-03 02:27:19 +0200
committermathieui <mathieui@mathieui.net>2014-05-03 02:27:19 +0200
commitb46f0f5e266c321632738ca40839759486b47a7e (patch)
tree83ecb7a530dfc6bf9eb5af45b75407bf8d142f4d /src/core
parentea935ded091571ffec14fc020176c6a03f269efc (diff)
downloadpoezio-b46f0f5e266c321632738ca40839759486b47a7e.tar.gz
poezio-b46f0f5e266c321632738ca40839759486b47a7e.tar.bz2
poezio-b46f0f5e266c321632738ca40839759486b47a7e.tar.xz
poezio-b46f0f5e266c321632738ca40839759486b47a7e.zip
Fix #2072 (only resize a tab if the size changed since the last display)
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/core.py b/src/core/core.py
index e38e37d1..d49845dc 100644
--- a/src/core/core.py
+++ b/src/core/core.py
@@ -1582,9 +1582,7 @@ class Core(object):
self.resize_global_information_win()
with g_lock:
for tab in self.tabs:
- if config.get('lazy_resize', True):
- tab.need_resize = True
- else:
+ if not config.get('lazy_resize', True):
tab.resize()
if self.tabs:
self.full_screen_redraw()