aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-21 19:34:07 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-07-21 19:34:07 (GMT)
commitcb3ace75e1df7f00cae2033a31511ed7ddd7d991 (patch)
tree99216592f543b6215380b99fe4d6934842aac024 /src/FbWinFrame.cc
parentf3fd906b7b1d360aaa1442b4c17faa33c91d236d (diff)
downloadfluxbox_pavel-cb3ace75e1df7f00cae2033a31511ed7ddd7d991.zip
fluxbox_pavel-cb3ace75e1df7f00cae2033a31511ed7ddd7d991.tar.bz2
Attach modifiedSig handlers to the session.screenX.tab.width resource
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()) {