diff options
Diffstat (limited to 'src/Window.cc')
| -rw-r--r-- | src/Window.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc index 56ee90a3..5adde163 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -2805,7 +2805,7 @@ void OpenboxWindow::motionNotifyEvent(XMotionEvent *me) { int snap_distance = screen->getEdgeSnapThreshold(); // width/height of the snapping window unsigned int snap_w = frame.width + (frame.border_w * 2); - unsigned int snap_h = getHeight() + (frame.border_w * 2); + unsigned int snap_h = size().h() + (frame.border_w * 2); if (snap_distance) { int drx = screen->getWidth() - (dx + snap_w); |
