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-11-01 09:57:23 (GMT)
commit2e4111c75bbeb7e566d3742e16efc93ffa5eab87 (patch)
tree79cc6b5b51a57ef8c7a767f6d3c899854f76c8be /src/FbWinFrame.cc
parent0326af9b428e5406c465c2efa00ede8d963671f3 (diff)
downloadfluxbox_paul-2e4111c75bbeb7e566d3742e16efc93ffa5eab87.zip
fluxbox_paul-2e4111c75bbeb7e566d3742e16efc93ffa5eab87.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 6aa65b0..a76df66 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.cc
@@ -316,8 +316,8 @@ void FbWinFrame::alignTabs() {
316 FbTk::Orientation orig_orient = m_tab_container.orientation(); 316 FbTk::Orientation orig_orient = m_tab_container.orientation();
317 unsigned int orig_tabwidth = m_tab_container.maxWidthPerClient(); 317 unsigned int orig_tabwidth = m_tab_container.maxWidthPerClient();
318 318
319 if (orig_tabwidth != m_screen.getTabWidth()) 319 if (orig_tabwidth != *m_screen.getTabWidthResource())
320 m_tab_container.setMaxSizePerClient(m_screen.getTabWidth()); 320 m_tab_container.setMaxSizePerClient(*m_screen.getTabWidthResource());
321 321
322 int tabx = 0, taby = 0; 322 int tabx = 0, taby = 0;
323 switch (*m_screen.getTabPlacementResource()) { 323 switch (*m_screen.getTabPlacementResource()) {