X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FWorkspace.hh;h=7934308d2f9c42a7345a0ece8fd585ee2e2a828f;hb=83b6c9bfa0ccc8088e4c65e5a2cf139933959565;hp=18933accd6648903fa6fc995c6b04c4975a844f2;hpb=e18ff901fc7236e3008266f0a09048e6905de724;p=chaz%2Fopenbox 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);