Only search for new snapping parents if there is also a snapping candidate. Thanks Humdinger for finding this bug.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38625 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -171,7 +171,7 @@ StackAndTile::WindowMoved(Window* window)
|
||||
if (!satWindow)
|
||||
return;
|
||||
|
||||
if (SATKeyPressed())
|
||||
if (SATKeyPressed() && fCurrentSATWindow)
|
||||
satWindow->FindSnappingCandidates();
|
||||
else
|
||||
satWindow->DoGroupLayout();
|
||||
@@ -185,7 +185,7 @@ StackAndTile::WindowResized(Window* window)
|
||||
if (!satWindow)
|
||||
return;
|
||||
|
||||
if (SATKeyPressed())
|
||||
if (SATKeyPressed() && fCurrentSATWindow)
|
||||
satWindow->FindSnappingCandidates();
|
||||
else {
|
||||
satWindow->DoGroupLayout();
|
||||
|
||||
Reference in New Issue
Block a user