diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-22 13:28:12 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-22 13:28:12 (GMT) |
commit | 72a9dc9c3068f161bde059e8f14e8f3ed30c8def (patch) | |
tree | f5913decbf5e6409eeb1e0fe86afd0bd22863aa5 /src | |
parent | f1ff5ff3b2947ca31f0718e37bb0b2668303247f (diff) | |
download | fluxbox_lack-72a9dc9c3068f161bde059e8f14e8f3ed30c8def.zip fluxbox_lack-72a9dc9c3068f161bde059e8f14e8f3ed30c8def.tar.bz2 |
remove borders from maximized windows
Diffstat (limited to 'src')
-rw-r--r-- | src/FbWinFrame.cc | 3 |
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 | ||
1505 | bool FbWinFrame::useBorder() const { | 1505 | bool 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 | ||
1509 | bool FbWinFrame::useTabs() const { | 1510 | bool FbWinFrame::useTabs() const { |