From: Dana Jansens Date: Fri, 2 Aug 2002 17:37:28 +0000 (+0000) Subject: snap to bottoms too =] X-Git-Tag: openbox-2_0_0~105 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=628a4ff368c09a10a2eb738bac804b9a3025ed64;p=dana%2Fopenbox.git snap to bottoms too =] --- diff --git a/src/Window.cc b/src/Window.cc index 13afa610..7ccca604 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -3190,7 +3190,7 @@ void BlackboxWindow::doMove(int x_root, int y_root) { snapped = True; } // snap bottom of other window? - else if (dbottom > 0 && dbottom < resistance_size) { + else if (dbottom >= 0 && dbottom < resistance_size) { dy = winrect.bottom() + 1; snapped = True; }