aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-02-23 21:32:37 (GMT)
committerrathnor <rathnor>2003-02-23 21:32:37 (GMT)
commit67f5dd9dd79b5b6b5a4972cf31ba95692a1c2a88 (patch)
treed74b2a60987393d3fca2823c3fccf2379e1db53a /src
parent4b41f9498b662e13c4daae28aadcfa15e1bf3d97 (diff)
downloadfluxbox-67f5dd9dd79b5b6b5a4972cf31ba95692a1c2a88.zip
fluxbox-67f5dd9dd79b5b6b5a4972cf31ba95692a1c2a88.tar.bz2
fix shade size bug
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 1444438..a96d96c 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.13 2003/02/23 13:40:22 rathnor Exp $ 22// $Id: FbWinFrame.cc,v 1.14 2003/02/23 21:32:37 rathnor Exp $
23 23
24#include "FbWinFrame.hh" 24#include "FbWinFrame.hh"
25#include "ImageControl.hh" 25#include "ImageControl.hh"
@@ -140,7 +140,7 @@ void FbWinFrame::shade() {
140 if (!m_shaded) { 140 if (!m_shaded) {
141 m_width_before_shade = m_window.width(); 141 m_width_before_shade = m_window.width();
142 m_height_before_shade = m_window.height(); 142 m_height_before_shade = m_window.height();
143 m_window.resize(m_window.width(), m_titlebar.height() + 2*m_titlebar.borderWidth()); 143 m_window.resize(m_window.width(), m_titlebar.height());
144 } else { 144 } else {
145 m_window.resize(m_width_before_shade, m_height_before_shade); 145 m_window.resize(m_width_before_shade, m_height_before_shade);
146 m_grip_left.clear(); 146 m_grip_left.clear();