diff options
-rw-r--r-- | src/FbWinFrame.cc | 6 |
1 files changed, 5 insertions, 1 deletions
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() { | |||
345 | if (m_tabmode != EXTERNAL) | 345 | if (m_tabmode != EXTERNAL) |
346 | return; | 346 | return; |
347 | 347 | ||
348 | m_tab_container.setMaxSizePerClient(m_screen.getTabWidth()); | 348 | if (m_tab_container.maxWidthPerClient() != m_screen.getTabWidth()) { |
349 | m_tab_container.setMaxSizePerClient(m_screen.getTabWidth()); | ||
350 | renderTabContainer(); | ||
351 | applyTabContainer(); | ||
352 | } | ||
349 | 353 | ||
350 | int tabx = 0, taby = 0; | 354 | int tabx = 0, taby = 0; |
351 | switch (m_screen.getTabPlacement()) { | 355 | switch (m_screen.getTabPlacement()) { |