diff options
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index a8ee4d5..1c34efd 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -84,7 +84,7 @@ FbWinFrame::FbWinFrame(BScreen &screen, WindowState &state, | |||
84 | m_use_handle(true), | 84 | m_use_handle(true), |
85 | m_visible(false), | 85 | m_visible(false), |
86 | m_button_pm(0), | 86 | m_button_pm(0), |
87 | m_tabmode(screen.getDefaultInternalTabs()?INTERNAL:EXTERNAL), | 87 | m_tabmode(*screen.getDefaultInternalTabsResource()?INTERNAL:EXTERNAL), |
88 | m_active_orig_client_bw(0), | 88 | m_active_orig_client_bw(0), |
89 | m_need_render(true), | 89 | m_need_render(true), |
90 | m_button_size(1), | 90 | m_button_size(1), |
@@ -1448,7 +1448,7 @@ void FbWinFrame::applyDecorations(bool do_move) { | |||
1448 | // we rely on frame not doing anything if it is already shown/hidden | 1448 | // we rely on frame not doing anything if it is already shown/hidden |
1449 | if (m_state.useTitlebar()) { | 1449 | if (m_state.useTitlebar()) { |
1450 | client_move |= showTitlebar(); | 1450 | client_move |= showTitlebar(); |
1451 | if (m_screen.getDefaultInternalTabs()) | 1451 | if (*m_screen.getDefaultInternalTabsResource()) |
1452 | client_move |= setTabMode(INTERNAL); | 1452 | client_move |= setTabMode(INTERNAL); |
1453 | else | 1453 | else |
1454 | client_move |= setTabMode(EXTERNAL); | 1454 | client_move |= setTabMode(EXTERNAL); |