aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-22 13:28:12 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-22 13:28:12 (GMT)
commit72a9dc9c3068f161bde059e8f14e8f3ed30c8def (patch)
treef5913decbf5e6409eeb1e0fe86afd0bd22863aa5 /src/FbWinFrame.cc
parentf1ff5ff3b2947ca31f0718e37bb0b2668303247f (diff)
downloadfluxbox-72a9dc9c3068f161bde059e8f14e8f3ed30c8def.zip
fluxbox-72a9dc9c3068f161bde059e8f14e8f3ed30c8def.tar.bz2
remove borders from maximized windows
Diffstat (limited to 'src/FbWinFrame.cc')
-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 {