aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-01-23 11:04:05 (GMT)
committerfluxgen <fluxgen>2004-01-23 11:04:05 (GMT)
commit8a4be38909a6f8da19b8ea176e2da5bc96d11607 (patch)
treea6df8f1e8f56eee07a10898abba2db68bd836fc7 /src
parente56c3c5b448a16a90dc1e518b29afd5c0ee544e8 (diff)
downloadfluxbox-8a4be38909a6f8da19b8ea176e2da5bc96d11607.zip
fluxbox-8a4be38909a6f8da19b8ea176e2da5bc96d11607.tar.bz2
minor fix
Diffstat (limited to 'src')
-rw-r--r--src/FbWinFrame.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 5dcd64a..c4b7150 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbWinFrame.cc,v 1.73 2004/01/23 10:37:01 rathnor Exp $ 22// $Id: FbWinFrame.cc,v 1.74 2004/01/23 11:04:05 fluxgen Exp $
23 23
24#include "FbWinFrame.hh" 24#include "FbWinFrame.hh"
25 25
@@ -439,7 +439,7 @@ bool FbWinFrame::hideHandle() {
439 m_use_handle = false; 439 m_use_handle = false;
440 440
441 if (static_cast<signed int>(m_window.height() - m_handle.height() - 441 if (static_cast<signed int>(m_window.height() - m_handle.height() -
442 m_handle.borderWidth())) { 442 m_handle.borderWidth()) <= 0) {
443 m_window.resize(m_window.width(), 1); 443 m_window.resize(m_window.width(), 1);
444 } else { 444 } else {
445 // only take away one borderwidth (as the other border is still the "top" border) 445 // only take away one borderwidth (as the other border is still the "top" border)