If the focus window became invisible because of changing its feel, focus is now
reset to the front window. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15436 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1476,6 +1476,9 @@ Desktop::SetWindowFeel(WindowLayer *window, window_feel newFeel)
|
|||||||
}
|
}
|
||||||
|
|
||||||
_UpdateFronts();
|
_UpdateFronts();
|
||||||
|
|
||||||
|
if (window == FocusWindow() && !window->IsVisible())
|
||||||
|
SetFocusWindow(FrontWindow());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user