X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FWorkspace.hh;h=df0411e130645cc221360cbf06e0359748f6d656;hb=01732a20dbb6b75431dc34fbe8401bfca952f43a;hp=e0295e29b0a5f2797f7b7ed98d0b1eb8376f75d1;hpb=72c56d793b21cb0dae7a6a3d0baf580dacc4a34f;p=chaz%2Fopenbox diff --git a/src/Workspace.hh b/src/Workspace.hh index e0295e29..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); @@ -104,8 +107,8 @@ public: unsigned int getCount(void) const; void appendStackOrder(BlackboxWindowList &stack_order) const; - void show(void); - void hide(void); + void showAll(void); + void hideAll(void); void removeAll(void); void raiseWindow(BlackboxWindow *w); void lowerWindow(BlackboxWindow *w);