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:
parent
188b1fe0d1
commit
40c0ae4804
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue