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:
parent
c81a228fca
commit
aa203e8d5f
|
@ -1476,6 +1476,9 @@ Desktop::SetWindowFeel(WindowLayer *window, window_feel newFeel)
|
|||
}
|
||||
|
||||
_UpdateFronts();
|
||||
|
||||
if (window == FocusWindow() && !window->IsVisible())
|
||||
SetFocusWindow(FrontWindow());
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue