]> Dogcows Code - chaz/openbox/commitdiff
save the window-to-window snapping right
authorDana Jansens <danakj@orodu.net>
Fri, 2 Aug 2002 20:56:25 +0000 (20:56 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 2 Aug 2002 20:56:25 +0000 (20:56 +0000)
src/Screen.cc

index 09f91bdefdb8951f5ae6f0e3fef5ef80d1bcec63..8512b3dc3cc05dce8eb5d3e5534bff377679681e 100644 (file)
@@ -434,7 +434,7 @@ void BScreen::saveWindowToWindowSnap(int s) {
   resource.snap_to_windows = s;
   
   const char *snap;
   resource.snap_to_windows = s;
   
   const char *snap;
-  switch (resource.snap_to_edges) {
+  switch (resource.snap_to_windows) {
   case WindowNoSnap: snap = "NoSnap"; break;
   case WindowResistance: snap = "Resistance"; break;
   case WindowSnap: default: snap = "Snap"; break;
   case WindowNoSnap: snap = "NoSnap"; break;
   case WindowResistance: snap = "Resistance"; break;
   case WindowSnap: default: snap = "Snap"; break;
This page took 0.03033 seconds and 4 git commands to generate.