summaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-04-14 18:28:11 +0000
committerDana Jansens <danakj@orodu.net>2002-04-14 18:28:11 +0000
commitbea6e5f78d38417ea64c283236eee72ecdcaf502 (patch)
treea5983d9e22d0a1ca4ea9f28f97da74af374e3eee /src/Window.cc
parent973880dd25a3a212c0812b9d6d8955f0f91b558a (diff)
changed OpenboxWindow to not have getFrameX/getWidth/etc functions, and to return Origins and Sizes and Rects, in fuctions like size(), origin(), and area().
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 56ee90a3..5adde163 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2805,7 +2805,7 @@ void OpenboxWindow::motionNotifyEvent(XMotionEvent *me) {
int snap_distance = screen->getEdgeSnapThreshold();
// width/height of the snapping window
unsigned int snap_w = frame.width + (frame.border_w * 2);
- unsigned int snap_h = getHeight() + (frame.border_w * 2);
+ unsigned int snap_h = size().h() + (frame.border_w * 2);
if (snap_distance) {
int drx = screen->getWidth() - (dx + snap_w);