Don't force floating panel.
In case of StaysOnTop windows it looks like it is floating already. But in case of manually setting floating here it has a strange bug with non-activatable always on top tool window (picture-in-picture). When first time shown it doesn't act as a stays-on-top window, if you click on another app it is shown above the PiP. Only if you activate the main window once more the PiP will become stays-on-top window. This way it works from the first show.
This commit is contained in:
parent
8399f70ea0
commit
bbd35238da
1 changed files with 1 additions and 1 deletions
|
|
@ -43,8 +43,8 @@ void InitOnTopPanel(not_null<QWidget*> panel) {
|
|||
auto platformPanel = static_cast<NSPanel*>(platformWindow);
|
||||
[platformPanel setLevel:NSPopUpMenuWindowLevel];
|
||||
[platformPanel setCollectionBehavior:NSWindowCollectionBehaviorCanJoinAllSpaces|NSWindowCollectionBehaviorStationary|NSWindowCollectionBehaviorFullScreenAuxiliary|NSWindowCollectionBehaviorIgnoresCycle];
|
||||
[platformPanel setFloatingPanel:YES];
|
||||
[platformPanel setHidesOnDeactivate:NO];
|
||||
//[platformPanel setFloatingPanel:YES];
|
||||
|
||||
Integration::Instance().activationFromTopPanel();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue