aboutsummaryrefslogtreecommitdiff
path: root/src/ScreenPlacement.cc
diff options
context:
space:
mode:
authormathias <mathias>2006-03-02 07:49:13 (GMT)
committermathias <mathias>2006-03-02 07:49:13 (GMT)
commita21d42da3709f5dc5b5510297be134507153ef2c (patch)
treeb40b05154c33f8a05191c9b46ece0ed6737e6506 /src/ScreenPlacement.cc
parente742a830adaef45950a12c901ce245d67cc3fdcb (diff)
downloadfluxbox-a21d42da3709f5dc5b5510297be134507153ef2c.zip
fluxbox-a21d42da3709f5dc5b5510297be134507153ef2c.tar.bz2
fixed gcc4.1 problems, patch from Andreas Bierfert <andreas dot bierfert at lowlatency dot de>
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