]> Dogcows Code - chaz/openbox/blobdiff - src/blackbox.cc
change to match blackbox
[chaz/openbox] / src / blackbox.cc
index 118a17bc3f0c7b4e6a56ca9618729f05c30b8f0f..56782248dddd5b9a3ef6802df26ef17e8f20cd0c 100644 (file)
@@ -895,18 +895,6 @@ void Blackbox::shutdown(void) {
 }
 
 
-void Blackbox::saveWindowToWindowSnap(bool s) {
-  resource.window_to_window_snap = s;
-  config.setValue("session.windowToWindowSnap", resource.window_to_window_snap);
-}
-
-
-void Blackbox::saveWindowCornerSnap(bool s) {
-  resource.window_corner_snap = s;
-  config.setValue("session.windowCornerSnap", resource.window_corner_snap);
-}
-
-
 /*
  * Save all values as they are so that the defaults will be written to the rc
  * file
@@ -924,8 +912,6 @@ void Blackbox::save_rc(void) {
   config.setValue("session.cacheMax", resource.cache_max);
   config.setValue("session.styleFile", resource.style_file);
   config.setValue("session.titlebarLayout", resource.titlebar_layout);
-  saveWindowToWindowSnap(resource.window_to_window_snap);
-  saveWindowCornerSnap(resource.window_corner_snap);
   
   std::for_each(screenList.begin(), screenList.end(),
                 std::mem_fun(&BScreen::save_rc));
@@ -973,14 +959,6 @@ void Blackbox::load_rc(void) {
   
   if (! config.getValue("session.titlebarLayout", resource.titlebar_layout))
     resource.titlebar_layout = "ILMC";
-
-  if (! config.getValue("session.windowToWindowSnap",
-                        resource.window_to_window_snap))
-    resource.window_to_window_snap = true;
-
-  if (! config.getValue("session.windowCornerSnap",
-                        resource.window_corner_snap))
-    resource.window_corner_snap = true;
 }
 
 
This page took 0.021245 seconds and 4 git commands to generate.