diff options
-rw-r--r-- | src/FbWinFrame.cc | 4 |
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) |