projects
/
dana
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added first revision of the BestFit placement type.
[dana/openbox.git]
/
src
/
Workspace.h
diff --git
a/src/Workspace.h
b/src/Workspace.h
index
f9700bd
..
441a873
100644
(file)
--- a/
src/Workspace.h
+++ b/
src/Workspace.h
@@
-26,6
+26,7
@@
#include <X11/Xlib.h>
#include "LinkedList.h"
#include <X11/Xlib.h>
#include "LinkedList.h"
+#include "Geometry.h"
class BScreen;
class Clientmenu;
class BScreen;
class Clientmenu;
@@
-46,6
+47,8
@@
private:
protected:
void placeWindow(OpenboxWindow *);
protected:
void placeWindow(OpenboxWindow *);
+ Point *bestFitPlacement(const Size &win_size, const Rect &space);
+ Point *rowSmartPlacement(const Size &win_size, const Rect &space);
public:
public: