]> Dogcows Code - chaz/openbox/blobdiff - src/Window.cc
change default resistance to 18
[chaz/openbox] / src / Window.cc
index 98ac82fa6052148de8200297e4de4f41d6778d77..dc09a658ded8bebcf701d2ece672866acead50dd 100644 (file)
@@ -3124,7 +3124,7 @@ void BlackboxWindow::doWindowSnapping(int &dx, int &dy) {
   const int snap_to_windows = screen->getWindowToWindowSnap();
   const int snap_to_edges = screen->getWindowToEdgeSnap();
   // the amount of space away from the edge to provide resistance/snap
-  const int snap_offset = 0;
+  const int snap_offset = screen->getSnapOffset();
 
   // find the geomeetery where the moving window currently is
   const Rect &moving = screen->doOpaqueMove() ? frame.rect : frame.changing;
This page took 0.024409 seconds and 4 git commands to generate.