remove borders from maximized windows

This commit is contained in:
Mark Tiefenbruck 2008-08-22 06:28:12 -07:00
parent f1ff5ff3b2
commit 72a9dc9c30
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,10 @@
(Format: Year/Month/Day)
Changes for 1.1
*08/08/22:
* Remove borders from maximized windows (Mark)
FbWinFrame.cc
* Add -sync command line option for debugging X issues (Mark)
fluxbox.cc/hh main.cc
*08/08/21:
* Added SendToNextHead and SendToPrevHead commands (Mark)
CurrentWindowCmd.cc/hh

View file

@ -1503,7 +1503,8 @@ int FbWinFrame::getDecoMaskFromString(const string &str_label) {
}
bool FbWinFrame::useBorder() const {
return !m_state.fullscreen && m_state.deco_mask & DECORM_BORDER;
return !m_state.fullscreen && m_state.maximized != MAX_FULL &&
(m_state.deco_mask & DECORM_BORDER);
}
bool FbWinFrame::useTabs() const {