diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-04-14 18:28:11 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-04-14 18:28:11 +0000 |
| commit | bea6e5f78d38417ea64c283236eee72ecdcaf502 (patch) | |
| tree | a5983d9e22d0a1ca4ea9f28f97da74af374e3eee /src/Window.cc | |
| parent | 973880dd25a3a212c0812b9d6d8955f0f91b558a (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.cc | 2 |
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); |
