objective c - NSWindowCollectionBehaviorCanJoinAllSpaces window not showing if other process is fullscreen -
i trying make window floating, stays on top across workspaces. workspace thing key.
my example: in process (firefox) have 2 windows (wina
, winb
). made 1 window (wina
) join spaces , floating this:
nswindowcollectionbehavior newbehavior = [wina collectionbehavior]; newbehavior |= nswindowcollectionbehaviorcanjoinallspaces; [wina setcollectionbehavior: newbheavior] [wina setlevel: nsmainmenuwindowlevel]
now, when make 2nd window (winb
) full screen, wina
shown on floating on top, expected. if focus app, , make full screen, wina
not seen on top.
here screencast - https://www.youtube.com/watch?v=zq5ysjvu8pq
does know how can make join spaces window on top of "fullscreen windows of other process"
Comments
Post a Comment