aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r--src/FbWinFrame.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 9acccaf..ec43a00 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.cc
@@ -300,8 +300,8 @@ void FbWinFrame::alignTabs() {
300 FbTk::Orientation orig_orient = m_tab_container.orientation(); 300 FbTk::Orientation orig_orient = m_tab_container.orientation();
301 unsigned int orig_tabwidth = m_tab_container.maxWidthPerClient(); 301 unsigned int orig_tabwidth = m_tab_container.maxWidthPerClient();
302 302
303 if (orig_tabwidth != m_screen.getTabWidth()) 303 if (orig_tabwidth != *m_screen.getTabWidthResource())
304 m_tab_container.setMaxSizePerClient(m_screen.getTabWidth()); 304 m_tab_container.setMaxSizePerClient(*m_screen.getTabWidthResource());
305 305
306 int tabx = 0, taby = 0; 306 int tabx = 0, taby = 0;
307 switch (*m_screen.getTabPlacementResource()) { 307 switch (*m_screen.getTabPlacementResource()) {