snap to bottoms too =]

This commit is contained in:
Dana Jansens 2002-08-02 17:37:28 +00:00
parent 39bd954b8b
commit 628a4ff368

View file

@ -3190,7 +3190,7 @@ void BlackboxWindow::doMove(int x_root, int y_root) {
snapped = True; snapped = True;
} }
// snap bottom of other window? // snap bottom of other window?
else if (dbottom > 0 && dbottom < resistance_size) { else if (dbottom >= 0 && dbottom < resistance_size) {
dy = winrect.bottom() + 1; dy = winrect.bottom() + 1;
snapped = True; snapped = True;
} }