diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-04-27 21:15:00 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-04-27 21:15:00 +0000 |
| commit | 07281446ea01d1758ed8cd2aa45d0c94ce1d9830 (patch) | |
| tree | 451fd36d591c8be9917eefd1da70bda22651dab9 /src/Workspace.h | |
| parent | e5685e3cfd3a44a6ac633617ca527a9f3173ccd4 (diff) | |
better cascadePlacement. uses screen.availableArea().
Diffstat (limited to 'src/Workspace.h')
| -rw-r--r-- | src/Workspace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Workspace.h b/src/Workspace.h index c2b92091..12d4dfc2 100644 --- a/src/Workspace.h +++ b/src/Workspace.h @@ -46,11 +46,11 @@ private: protected: - void placeWindow(OpenboxWindow *); + void placeWindow(OpenboxWindow &); Point *bestFitPlacement(const Size &win_size, const Rect &space); Point *rowSmartPlacement(const Size &win_size, const Rect &space); Point *colSmartPlacement(const Size &win_size, const Rect &space); - Point *const cascadePlacement(const OpenboxWindow* window); + Point *const cascadePlacement(const OpenboxWindow &window, const Rect &space); public: Workspace(BScreen &, int = 0); |
