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:
@@ -691,6 +691,10 @@ STRACE(("W(%ld)::ShowWinBorder(%s) \n", fID, winBorder? winBorder->GetName(): "N
|
|||||||
// and modal windows contains our window.
|
// and modal windows contains our window.
|
||||||
if (fFrontItem && fFrontItem->layerPtr->Level() == B_NORMAL)
|
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;
|
ListData *itemThis = NULL;
|
||||||
// remove from B_NORMAL's list.
|
// remove from B_NORMAL's list.
|
||||||
if (fFrontItem->layerPtr->fFMWList.RemoveItem(winBorder))
|
if (fFrontItem->layerPtr->fFMWList.RemoveItem(winBorder))
|
||||||
|
|||||||
Reference in New Issue
Block a user