From 15f53b5556403a8301fc7be4512b6f8ce52ffa5d Mon Sep 17 00:00:00 2001 From: simonb Date: Thu, 23 Mar 2006 01:06:29 +0000 Subject: fix minor rendering bug when growing tabs --- src/FbWinFrame.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 1d9c862..736e049 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc @@ -345,7 +345,11 @@ void FbWinFrame::alignTabs() { if (m_tabmode != EXTERNAL) return; - m_tab_container.setMaxSizePerClient(m_screen.getTabWidth()); + if (m_tab_container.maxWidthPerClient() != m_screen.getTabWidth()) { + m_tab_container.setMaxSizePerClient(m_screen.getTabWidth()); + renderTabContainer(); + applyTabContainer(); + } int tabx = 0, taby = 0; switch (m_screen.getTabPlacement()) { -- cgit v0.11.2