MoveToFront() returned 'invalidate' for a floating window when it shouldn't; window was already in front as possible.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11877 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
494d1b2a5a
commit
943ba1b132
@ -691,6 +691,10 @@ STRACE(("W(%ld)::ShowWinBorder(%s) \n", fID, winBorder? winBorder->GetName(): "N
|
||||
// and modal windows contains our window.
|
||||
if (fFrontItem && fFrontItem->layerPtr->Level() == B_NORMAL)
|
||||
{
|
||||
// if this winBorder is the focus it is already the first among floating app windows.
|
||||
if (fFocusItem && fFocusItem->layerPtr == winBorder)
|
||||
break;
|
||||
|
||||
ListData *itemThis = NULL;
|
||||
// remove from B_NORMAL's list.
|
||||
if (fFrontItem->layerPtr->fFMWList.RemoveItem(winBorder))
|
||||
|
Loading…
x
Reference in New Issue
Block a user