X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FWorkspace.h;h=441a8733e4114afeca33725976aab5ff12646439;hb=424d476f7cd0ccc2def4f14119cd4fc3171d0159;hp=f9700bdce74907d9b9dd26c419b559ea498ad180;hpb=24f9448c2efc6daf97a4061cfd6c62da2980c0ad;p=chaz%2Fopenbox diff --git a/src/Workspace.h b/src/Workspace.h index f9700bdc..441a8733 100644 --- a/src/Workspace.h +++ b/src/Workspace.h @@ -26,6 +26,7 @@ #include #include "LinkedList.h" +#include "Geometry.h" class BScreen; class Clientmenu; @@ -46,6 +47,8 @@ private: protected: void placeWindow(OpenboxWindow *); + Point *bestFitPlacement(const Size &win_size, const Rect &space); + Point *rowSmartPlacement(const Size &win_size, const Rect &space); public: