diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-08-23 23:13:21 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-08-23 23:13:21 +0000 |
| commit | cbf4bb3d62df50045fd71920256865becae21990 (patch) | |
| tree | 411c2b1901e84506266047f532a5cb7258f3ea14 /src/Workspace.hh | |
| parent | 8dc38853ef1c55de644948ddb390a363e59c25bf (diff) | |
use the snap offset as the margin for placing windows instead of a fixed value of 1
Diffstat (limited to 'src/Workspace.hh')
| -rw-r--r-- | src/Workspace.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Workspace.hh b/src/Workspace.hh index 72203f2d..df0411e1 100644 --- a/src/Workspace.hh +++ b/src/Workspace.hh @@ -65,6 +65,9 @@ private: void lowerTransients(const BlackboxWindow * const win, StackVector::iterator &stack); + typedef std::vector<Rect> rectList; + rectList calcSpace(const Rect &win, const rectList &spaces) const; + void placeWindow(BlackboxWindow *win); bool cascadePlacement(Rect& win, const int offset); bool smartPlacement(Rect& win); |
