From cbf4bb3d62df50045fd71920256865becae21990 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 23 Aug 2002 23:13:21 +0000 Subject: use the snap offset as the margin for placing windows instead of a fixed value of 1 --- src/Workspace.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Workspace.hh') 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 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); -- cgit v1.2.3