diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 18 |
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 | ||