From 8192e8bc2a34d55adae71322362890bace43de72 Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Sun, 21 Dec 2003 15:13:00 +0000
Subject: removed old save for window placement

---
 src/fluxbox.cc | 38 +-------------------------------------
 1 file changed, 1 insertion(+), 37 deletions(-)

diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 4210f47..3808893 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -22,7 +22,7 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: fluxbox.cc,v 1.210 2003/12/19 13:37:28 fluxgen Exp $
+// $Id: fluxbox.cc,v 1.211 2003/12/21 15:13:00 fluxgen Exp $
 
 #include "fluxbox.hh"
 
@@ -1531,42 +1531,6 @@ void Fluxbox::save_rc() {
     for (; it != it_end; ++it) {
         BScreen *screen = *it;
         int screen_number = screen->screenNumber();
-  
-        sprintf(rc_string, "session.screen%d.rowPlacementDirection: %s", screen_number,
-                ((screen->getRowPlacementDirection() == BScreen::LEFTRIGHT) ?
-                 "LeftToRight" : "RightToLeft"));
-        XrmPutLineResource(&new_blackboxrc, rc_string);
-
-        sprintf(rc_string, "session.screen%d.colPlacementDirection: %s", screen_number,
-                ((screen->getColPlacementDirection() == BScreen::TOPBOTTOM) ?
-                 "TopToBottom" : "BottomToTop"));
-        XrmPutLineResource(&new_blackboxrc, rc_string);
-
-        string placement;
-		
-        switch (screen->getPlacementPolicy()) {
-        case BScreen::CASCADEPLACEMENT:
-            placement = "CascadePlacement";
-            break;
-
-        case BScreen::COLSMARTPLACEMENT:
-            placement = "ColSmartPlacement";
-            break;
-
-        case BScreen::UNDERMOUSEPLACEMENT:
-            placement = "UnderMousePlacement";
-            break;
-
-        default:
-        case BScreen::ROWSMARTPLACEMENT:
-            placement = "RowSmartPlacement";
-            break;
-        }
-		
-        sprintf(rc_string, "session.screen%d.windowPlacement: %s", screen_number,
-                placement.c_str());
-        XrmPutLineResource(&new_blackboxrc, rc_string);
-
 
         // these are static, but may not be saved in the users resource file,
         // writing these resources will allow the user to edit them at a later
-- 
cgit v0.11.2