Commit 3941d79
committed
Mark pinned child windows as fullscreen-auxiliary
Adding a child window without NSWindowCollectionBehaviorFullScreenAuxiliary
to a fullscreen parent forces AppKit to demote the parent out of
fullscreen so the two can coexist on the regular desktop. Result:
opening Preferences from fullscreen kicked the emulator out of
fullscreen rather than overlaying Preferences on the fullscreen
Space.
OR the auxiliary flag into the child's collection behavior in
pinAsChildOf:. The bit is harmless when the parent is windowed and
gives every utility window the right Space-sharing semantics for
free, since they all reach the fullscreen state through this single
choke point.1 parent 15e0965 commit 3941d79
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1433 | 1433 | | |
1434 | 1434 | | |
1435 | 1435 | | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
1436 | 1443 | | |
1437 | 1444 | | |
1438 | 1445 | | |
| |||
0 commit comments