aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-21 19:34:07 (GMT)
committerPaul Tagliamonte <paultag@fluxbox.org>2012-04-07 02:11:33 (GMT)
commitcb1af9b3fe908bbfb0d624fb2fcb6711eeb00133 (patch)
treeb0c5c04918207ad30ac82070ac8d29a9c92be8d5 /src/FbWinFrame.cc
parent3ffe5235a45cf4ecfd570e014423bf8375b17996 (diff)
downloadfluxbox_paul-cb1af9b3fe908bbfb0d624fb2fcb6711eeb00133.zip
fluxbox_paul-cb1af9b3fe908bbfb0d624fb2fcb6711eeb00133.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()) {