This fixes that a window appears to lose focus when switching from borderless
to bordered window (ie. VLC when switching back from full screen mode). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17503 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1206,6 +1206,8 @@ WindowLayer::SetLook(window_look look, BRegion* updateRegion)
|
|||||||
// we need a new decorator
|
// we need a new decorator
|
||||||
fDecorator = gDecorManager.AllocateDecorator(fDesktop, Frame(),
|
fDecorator = gDecorManager.AllocateDecorator(fDesktop, Frame(),
|
||||||
Title(), fLook, fFlags);
|
Title(), fLook, fFlags);
|
||||||
|
if (IsFocus())
|
||||||
|
fDecorator->SetFocus(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
fLook = look;
|
fLook = look;
|
||||||
|
|||||||
Reference in New Issue
Block a user