aboutsummaryrefslogtreecommitdiff
path: root/src/ScreenPlacement.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ScreenPlacement.cc')
-rw-r--r--src/ScreenPlacement.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ScreenPlacement.cc b/src/ScreenPlacement.cc
index b455fc7..51ade90 100644
--- a/src/ScreenPlacement.cc
+++ b/src/ScreenPlacement.cc
@@ -129,6 +129,8 @@ bool ScreenPlacement::placeWindow(const std::vector<FluxboxWindow *> &windowlist
129 129
130 130
131////////////////////// Placement Resources 131////////////////////// Placement Resources
132namespace FbTk {
133
132template <> 134template <>
133void FbTk::Resource<ScreenPlacement::PlacementPolicy>::setFromString(const char *str) { 135void FbTk::Resource<ScreenPlacement::PlacementPolicy>::setFromString(const char *str) {
134 if (strcasecmp("RowSmartPlacement", str) == 0) 136 if (strcasecmp("RowSmartPlacement", str) == 0)
@@ -205,3 +207,4 @@ std::string FbTk::Resource<ScreenPlacement::ColumnDirection>::getString() const
205 207
206 return "TopToBottom"; 208 return "TopToBottom";
207} 209}
210} // end namespace FbTk