X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FWindow.cc;h=dc09a658ded8bebcf701d2ece672866acead50dd;hb=dba5b809ec6f961324dbb5dff2dfc9c887958053;hp=98ac82fa6052148de8200297e4de4f41d6778d77;hpb=1ecf3b734ac6bda24a02f80cc9b9e6e4720f76af;p=chaz%2Fopenbox diff --git a/src/Window.cc b/src/Window.cc index 98ac82fa..dc09a658 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -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;