summaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-08-02 21:07:17 +0000
committerDana Jansens <danakj@orodu.net>2002-08-02 21:07:17 +0000
commitb9e40b8b1e055baa6a806c56206eb0baccd7ce0a (patch)
tree817fa87bdeb8803df06ed71ededd07d0dca91c25 /src/Window.cc
parentb34a0d1ce2de4f86b41aa88d05a7ad0a417174df (diff)
add the resource for the window snapping offset
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc2
1 files changed, 1 insertions, 1 deletions
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;