diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-04-21 18:52:28 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-04-21 18:52:28 +0000 |
| commit | 75c0a76a53bc31b162590fc767f5b2fe73ad07df (patch) | |
| tree | ecfba50598f3ca18ff2d97f5a365fe5e307c336e /src/Window.cc | |
| parent | b8dd077ab0d46e044da324623e1253422621b687 (diff) | |
changed external window interface to only have an area(), no size() and origin(), since all of their values are also in area()
changed toolbar external inteface to have an area, no more getX/Y/Width/Height
Diffstat (limited to 'src/Window.cc')
| -rw-r--r-- | src/Window.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc index d733afc3..73291228 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -2868,7 +2868,7 @@ void OpenboxWindow::motionNotifyEvent(XMotionEvent *me) { int snap_distance = screen->edgeSnapThreshold(); // width/height of the snapping window unsigned int snap_w = frame.width + (frame.border_w * 2); - unsigned int snap_h = size().h() + (frame.border_w * 2); + unsigned int snap_h = area().h() + (frame.border_w * 2); if (snap_distance) { int drx = screen->size().w() - (dx + snap_w); @@ -2891,7 +2891,7 @@ void OpenboxWindow::motionNotifyEvent(XMotionEvent *me) { default: dtty = 0; - dbby = screen->getToolbar()->getY(); + dbby = screen->getToolbar()->area().y(); break; } |
