From b9e40b8b1e055baa6a806c56206eb0baccd7ce0a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 2 Aug 2002 21:07:17 +0000 Subject: add the resource for the window snapping offset --- src/Window.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Window.cc') 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; -- cgit v1.2.3