aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-10-02 16:14:41 (GMT)
committerrathnor <rathnor>2003-10-02 16:14:41 (GMT)
commit158b515e21f0f0154041cd5985ec38fe37c0e875 (patch)
treec1aebd425cef8610820043ae1f380dd5fb1f02d1 /src/Window.cc
parentbb1a7c92d8bb194e7e415f4348b7428f1b8ef436 (diff)
downloadfluxbox_pavel-158b515e21f0f0154041cd5985ec38fe37c0e875.zip
fluxbox_pavel-158b515e21f0f0154041cd5985ec38fe37c0e875.tar.bz2
address some memory issues shown up with valgrind
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 8609861..47fe00c 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Window.cc,v 1.237 2003/09/29 15:00:06 rathnor Exp $ 25// $Id: Window.cc,v 1.238 2003/10/02 16:14:41 rathnor Exp $
26 26
27#include "Window.hh" 27#include "Window.hh"
28 28
@@ -1126,6 +1126,11 @@ void FluxboxWindow::moveResize(int new_x, int new_y,
1126 } 1126 }
1127 1127
1128 shape(); 1128 shape();
1129
1130 if (!moving) {
1131 m_last_resize_x = new_x;
1132 m_last_resize_y = new_y;
1133 }
1129} 1134}
1130 1135
1131// returns whether the focus was "set" to this window 1136// returns whether the focus was "set" to this window