aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-05-12 17:31:34 (GMT)
committermarkt <markt>2007-05-12 17:31:34 (GMT)
commitf21186431b12bb2f91f31c766e7f2eaced7b5e63 (patch)
tree0bc30c2de35bf371efe1fe5ffd10ae36c962ed7b /src/Screen.cc
parentb66dde6e943ec3919a6f4e74cd73397238ccd21a (diff)
downloadfluxbox-f21186431b12bb2f91f31c766e7f2eaced7b5e63.zip
fluxbox-f21186431b12bb2f91f31c766e7f2eaced7b5e63.tar.bz2
fixed tabs disappearing on reconfigure with [Deco] {TAB} and tabs in titlebar
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc18
1 files changed, 4 insertions, 14 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 0075c4b..625e412 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -982,24 +982,14 @@ void BScreen::reconfigureTabs() {
982 if (!(*w_it)->windowList().empty()) { 982 if (!(*w_it)->windowList().empty()) {
983 Workspace::Windows::iterator win_it = (*w_it)->windowList().begin(); 983 Workspace::Windows::iterator win_it = (*w_it)->windowList().begin();
984 const Workspace::Windows::iterator win_it_end = (*w_it)->windowList().end(); 984 const Workspace::Windows::iterator win_it_end = (*w_it)->windowList().end();
985 for (; win_it != win_it_end; ++win_it) { 985 for (; win_it != win_it_end; ++win_it)
986 (*win_it)->frame().updateTabProperties(); 986 (*win_it)->applyDecorations();
987 if (*resource.default_internal_tabs)
988 (*win_it)->frame().setTabMode(FbWinFrame::INTERNAL);
989 else
990 (*win_it)->frame().setTabMode(FbWinFrame::EXTERNAL);
991 }
992 } 987 }
993 } 988 }
994 Icons::iterator icon_it = m_icon_list.begin(); 989 Icons::iterator icon_it = m_icon_list.begin();
995 Icons::iterator icon_it_end = m_icon_list.end(); 990 Icons::iterator icon_it_end = m_icon_list.end();
996 for (; icon_it != icon_it_end; ++icon_it) { 991 for (; icon_it != icon_it_end; ++icon_it)
997 (*icon_it)->frame().updateTabProperties(); 992 (*icon_it)->applyDecorations();
998 if (*resource.default_internal_tabs)
999 (*icon_it)->frame().setTabMode(FbWinFrame::INTERNAL);
1000 else
1001 (*icon_it)->frame().setTabMode(FbWinFrame::EXTERNAL);
1002 }
1003} 993}
1004 994
1005 995