aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbWinFrame.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 03f7420..f6f591e 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.cc
@@ -1503,7 +1503,8 @@ int FbWinFrame::getDecoMaskFromString(const string &str_label) {
1503} 1503}
1504 1504
1505bool FbWinFrame::useBorder() const { 1505bool FbWinFrame::useBorder() const {
1506 return !m_state.fullscreen && m_state.deco_mask & DECORM_BORDER; 1506 return !m_state.fullscreen && m_state.maximized != MAX_FULL &&
1507 (m_state.deco_mask & DECORM_BORDER);
1507} 1508}
1508 1509
1509bool FbWinFrame::useTabs() const { 1510bool FbWinFrame::useTabs() const {