aboutsummaryrefslogtreecommitdiff
path: root/src/PlacementStrategy.hh
diff options
context:
space:
mode:
authormarkt <markt>2007-10-24 17:09:26 (GMT)
committermarkt <markt>2007-10-24 17:09:26 (GMT)
commitf3afe787c1209cf1357493924a4f7eb7864def54 (patch)
treed0c0c3eca154ab538fbc1fb3c62081e9250c05bd /src/PlacementStrategy.hh
parent74eb584a312aba21b21eccb6c49ade1571aa3740 (diff)
downloadfluxbox_pavel-f3afe787c1209cf1357493924a4f7eb7864def54.zip
fluxbox_pavel-f3afe787c1209cf1357493924a4f7eb7864def54.tar.bz2
introduced workspacename for ClientPattern, and some miscellaneous cleanup
Diffstat (limited to 'src/PlacementStrategy.hh')
-rw-r--r--src/PlacementStrategy.hh7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/PlacementStrategy.hh b/src/PlacementStrategy.hh
index e8b0e96..5cd5c39 100644
--- a/src/PlacementStrategy.hh
+++ b/src/PlacementStrategy.hh
@@ -26,20 +26,19 @@
26 26
27#include <list> 27#include <list>
28 28
29class FluxboxWindow; 29#include "Window.hh"
30 30
31struct PlacementStrategy { 31struct PlacementStrategy {
32 /** 32 /**
33 * Calculates a placement for @win and returns suggested placement in @place_x and @place_y 33 * Calculates a placement for @win and returns suggested placement in @place_x and @place_y
34 * @param windowlist the windows that are on the same workspace
35 * @param win the window that needs to be placed 34 * @param win the window that needs to be placed
36 * @param place_x x placement of specific strategy 35 * @param place_x x placement of specific strategy
37 * @param place_y y placement of specific strategy 36 * @param place_y y placement of specific strategy
38 * @return true if the strategy found a placement for the window 37 * @return true if the strategy found a placement for the window
39 */ 38 */
40 virtual bool placeWindow(const std::list<FluxboxWindow *> &windowlist, 39 virtual bool placeWindow(const FluxboxWindow &win, int head,
41 const FluxboxWindow &win,
42 int &place_x, int &place_y) = 0; 40 int &place_x, int &place_y) = 0;
41
43 virtual ~PlacementStrategy() { } 42 virtual ~PlacementStrategy() { }
44}; 43};
45 44