]> Dogcows Code - chaz/openbox/blobdiff - src/Window.cc
updated nls to use openbox.cat
[chaz/openbox] / src / Window.cc
index be1ddb20b5eaf183450e9031a743cb3a8950e18c..3aabad5268a1caa050e52077de8bc15fd69aa5ea 100644 (file)
@@ -2552,23 +2552,23 @@ void BlackboxWindow::motionNotifyEvent(XMotionEvent *me) {
           // snap left?
           if (dleft < snap_distance && dleft <= dright) {
             dx = winrect.left() - frame.rect.width();
-            break;
+            continue;
           }
           // snap right?
           else if (dright < snap_distance) {
             dx = winrect.right() + 1;
-            break;
+            continue;
           }
 
           // snap top?
           if (dtop < snap_distance && dtop <= dbottom) {
             dy = winrect.top() - frame.rect.height();
-            break;
+            continue;
           }
           // snap bottom?
           else if (dbottom < snap_distance) {
             dy = winrect.bottom() + 1;
-            break;
+            continue;
           }
         }
                 
This page took 0.025126 seconds and 4 git commands to generate.