aboutsummaryrefslogtreecommitdiff
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
parentf1ff5ff3b2947ca31f0718e37bb0b2668303247f (diff)
downloadfluxbox_paul-72a9dc9c3068f161bde059e8f14e8f3ed30c8def.zip
fluxbox_paul-72a9dc9c3068f161bde059e8f14e8f3ed30c8def.tar.bz2
remove borders from maximized windows
-rw-r--r--ChangeLog5
-rw-r--r--src/FbWinFrame.cc3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c3882f4..782b8f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.1 2Changes for 1.1
3*08/08/22:
4 * Remove borders from maximized windows (Mark)
5 FbWinFrame.cc
6 * Add -sync command line option for debugging X issues (Mark)
7 fluxbox.cc/hh main.cc
3*08/08/21: 8*08/08/21:
4 * Added SendToNextHead and SendToPrevHead commands (Mark) 9 * Added SendToNextHead and SendToPrevHead commands (Mark)
5 CurrentWindowCmd.cc/hh 10 CurrentWindowCmd.cc/hh
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 {