diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-22 06:02:29 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-22 06:02:29 +0000 |
| commit | 270981e6d7b2c59efebb1ceb7cbb7c119b280df4 (patch) | |
| tree | 656e6e78fc700e8d4c74f51c51e914a1fc23e5b8 /src/Workspace.hh | |
| parent | e943c31bb008a4cef0891f5b86b84af523153323 (diff) | |
better cascade placement! also, it has xinerama support now!
Diffstat (limited to 'src/Workspace.hh')
| -rw-r--r-- | src/Workspace.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Workspace.hh b/src/Workspace.hh index 18933acc..7934308d 100644 --- a/src/Workspace.hh +++ b/src/Workspace.hh @@ -52,7 +52,10 @@ private: std::string name; unsigned int id; - int cascade_x, cascade_y; + unsigned int cascade_x, cascade_y; +#ifdef XINERAMA + unsigned int cascade_region; +#endif // XINERAMA Workspace(const Workspace&); Workspace& operator=(const Workspace&); @@ -63,7 +66,7 @@ private: StackVector::iterator &stack); void placeWindow(BlackboxWindow *win); - bool cascadePlacement(Rect& win); + bool cascadePlacement(Rect& win, const int offset); bool smartPlacement(Rect& win); bool underMousePlacement(Rect& win); |
