-
Notifications
You must be signed in to change notification settings - Fork 15k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add BrowserWindow option to hide window in Mission Control (macOS) #36390
feat: Add BrowserWindow option to hide window in Mission Control (macOS) #36390
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved on behalf of @electron/wg-releases
…OS) (#36092) * feat: Add BrowserWindow option to ignore Mission Control (macOS) * There are many circumstances when app developers may want to hide their windows from mission control. E.g., full screen overlays, small helper windows, dialogs, etc. * This PR adds the functionality, docs, and tests. * chore:Rename variables * Update shell/browser/native_window_mac.h Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com> Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> Co-authored-by: Brad Carter <16466430+carterbs@users.noreply.github.com>
41f0c5d
to
10a8c18
Compare
@@ -192,6 +192,7 @@ It creates a new `BrowserWindow` with native properties as set by the `options`. | |||
macOS. Default is `false`. | |||
* `skipTaskbar` boolean (optional) _macOS_ _Windows_ - Whether to show the window in taskbar. | |||
Default is `false`. | |||
* `hiddenInMissionControl` boolean (optional) _macOS_ - Whether window should be hidden when the user toggles into mission control. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default
value is not mentioned here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The original PR did not have it, probably better to be fixed in separate PR.
Release Notes Persisted
|
Backport of #36092
See that PR for details.
Notes:
setHiddenInMissionControl
API to allow developers to opt out of mission control on macOS.