X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2FWorkspace.hh;h=18933accd6648903fa6fc995c6b04c4975a844f2;hb=e18ff901fc7236e3008266f0a09048e6905de724;hp=fcf466307a4b336070cd65fc57c1de4e27e41962;hpb=90dbcb271c5e6d7ca73c19a519b93885b833db0a;p=chaz%2Fopenbox diff --git a/src/Workspace.hh b/src/Workspace.hh index fcf46630..18933acc 100644 --- a/src/Workspace.hh +++ b/src/Workspace.hh @@ -63,9 +63,9 @@ private: StackVector::iterator &stack); void placeWindow(BlackboxWindow *win); - bool cascadePlacement(Rect& win, const Rect& availableArea); - bool smartPlacement(Rect& win, const Rect& availableArea); - bool underMousePlacement(Rect& win, const Rect& availableArea); + bool cascadePlacement(Rect& win); + bool smartPlacement(Rect& win); + bool underMousePlacement(Rect& win); public: Workspace(BScreen *scrn, unsigned int i = 0); @@ -93,7 +93,7 @@ public: bool isLastWindow(const BlackboxWindow* w) const; void addWindow(BlackboxWindow *w, bool place = False); - unsigned int removeWindow(BlackboxWindow *w); + void removeWindow(BlackboxWindow *w); unsigned int getCount(void) const; void appendStackOrder(BlackboxWindowList &stack_order) const;