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>2013-02-18 21:04:23 (GMT)
commitfb0235c51656bf834ec1bc91b0e012321e676d71 (patch)
tree487a60dc90e6ea3641b4cb89555a77d0686e5e04 /src/FbWinFrame.cc
parent09a76586dec0059dea3ef9183e417e232a0012a2 (diff)
downloadfluxbox_pavel-fb0235c51656bf834ec1bc91b0e012321e676d71.zip
fluxbox_pavel-fb0235c51656bf834ec1bc91b0e012321e676d71.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 21de2c5..3185003 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.cc
@@ -319,8 +319,8 @@ void FbWinFrame::alignTabs() {
319 FbTk::Orientation orig_orient = m_tab_container.orientation(); 319 FbTk::Orientation orig_orient = m_tab_container.orientation();
320 unsigned int orig_tabwidth = m_tab_container.maxWidthPerClient(); 320 unsigned int orig_tabwidth = m_tab_container.maxWidthPerClient();
321 321
322 if (orig_tabwidth != m_screen.getTabWidth()) 322 if (orig_tabwidth != *m_screen.getTabWidthResource())
323 m_tab_container.setMaxSizePerClient(m_screen.getTabWidth()); 323 m_tab_container.setMaxSizePerClient(*m_screen.getTabWidthResource());
324 324
325 int tabx = 0, taby = 0; 325 int tabx = 0, taby = 0;
326 switch (*m_screen.getTabPlacementResource()) { 326 switch (*m_screen.getTabPlacementResource()) {