summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-08-02 17:37:28 +0000
committerDana Jansens <danakj@orodu.net>2002-08-02 17:37:28 +0000
commit628a4ff368c09a10a2eb738bac804b9a3025ed64 (patch)
treef7f93f4ca89c59f23f7d049a428a0fbb5b1103a2
parent39bd954b8bf197fa08f73ffade953fe531463796 (diff)
snap to bottoms too =]
-rw-r--r--src/Window.cc2
1 files changed, 1 insertions, 1 deletions
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;
}