]> Dogcows Code - chaz/openbox/commitdiff
snap to bottoms too =]
authorDana Jansens <danakj@orodu.net>
Fri, 2 Aug 2002 17:37:28 +0000 (17:37 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 2 Aug 2002 17:37:28 +0000 (17:37 +0000)
src/Window.cc

index 13afa610e006e258f691f656ee8c6211606ba60e..7ccca604229fde0018161a59ac8541b06df0bbe7 100644 (file)
@@ -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;
           }
This page took 0.026394 seconds and 4 git commands to generate.