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/Workspace.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/Workspace.cc')
| -rw-r--r-- | src/Workspace.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index f25ff0f2..551f5642 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc @@ -624,8 +624,8 @@ void Workspace::placeWindow(OpenboxWindow *win) { } #endif // SLIT - const Size window_size(win->size().w()+screen.getBorderWidth() * 4, - win->size().h()+screen.getBorderWidth() * 4); + const Size window_size(win->area().w()+screen.getBorderWidth() * 4, + win->area().h()+screen.getBorderWidth() * 4); Point *place = NULL; LinkedListIterator<OpenboxWindow> it(windowList); @@ -650,6 +650,6 @@ void Workspace::placeWindow(OpenboxWindow *win) { if (place->y() + window_size.h() > (signed) screen.size().h()) place->setY(((signed) screen.size().h() - window_size.h()) / 2); - win->configure(place->x(), place->y(), win->size().w(), win->size().h()); + win->configure(place->x(), place->y(), win->area().w(), win->area().h()); delete place; } |
