minor fix
This commit is contained in:
parent
e56c3c5b44
commit
8a4be38909
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: FbWinFrame.cc,v 1.73 2004/01/23 10:37:01 rathnor Exp $
|
// $Id: FbWinFrame.cc,v 1.74 2004/01/23 11:04:05 fluxgen Exp $
|
||||||
|
|
||||||
#include "FbWinFrame.hh"
|
#include "FbWinFrame.hh"
|
||||||
|
|
||||||
|
@ -439,7 +439,7 @@ bool FbWinFrame::hideHandle() {
|
||||||
m_use_handle = false;
|
m_use_handle = false;
|
||||||
|
|
||||||
if (static_cast<signed int>(m_window.height() - m_handle.height() -
|
if (static_cast<signed int>(m_window.height() - m_handle.height() -
|
||||||
m_handle.borderWidth())) {
|
m_handle.borderWidth()) <= 0) {
|
||||||
m_window.resize(m_window.width(), 1);
|
m_window.resize(m_window.width(), 1);
|
||||||
} else {
|
} else {
|
||||||
// only take away one borderwidth (as the other border is still the "top" border)
|
// only take away one borderwidth (as the other border is still the "top" border)
|
||||||
|
|
Loading…
Reference in a new issue