summaryrefslogtreecommitdiff
path: root/src/tabs/muctab.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-05-05 19:57:20 +0200
committermathieui <mathieui@mathieui.net>2014-05-05 20:01:04 +0200
commit9c8d577737cf523adce0306207dbb8a33b8aa63e (patch)
tree807b647210adf5d96ce081b14e63ab2a431e6869 /src/tabs/muctab.py
parentb8972ad94029f490ce4cb67d9aa8e2c921e13366 (diff)
downloadpoezio-9c8d577737cf523adce0306207dbb8a33b8aa63e.tar.gz
poezio-9c8d577737cf523adce0306207dbb8a33b8aa63e.tar.bz2
poezio-9c8d577737cf523adce0306207dbb8a33b8aa63e.tar.xz
poezio-9c8d577737cf523adce0306207dbb8a33b8aa63e.zip
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.
Diffstat (limited to 'src/tabs/muctab.py')
-rw-r--r--src/tabs/muctab.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tabs/muctab.py b/src/tabs/muctab.py
index ae97e993..201010f5 100644
--- a/src/tabs/muctab.py
+++ b/src/tabs/muctab.py
@@ -796,7 +796,7 @@ class MucTab(ChatTab):
"""
Resize the whole window. i.e. all its sub-windows
"""
- log.debug('RESIZE PLS')
+ self.need_resize = False
if config.get("hide_user_list", False) or self.size.tab_degrade_x:
display_user_list = False
text_width = self.width
@@ -833,7 +833,6 @@ class MucTab(ChatTab):
- tab_win_height,
0)
self.input.resize(1, self.width, self.height-1, 0)
- self.push_size()
def refresh(self):
if self.need_resize: