]> khamidou — GitHub mirrors - electron.git/commit
Support the "desktop" window type on Mac OS X
authorBen Gotow <bengotow@gmail.com>
Thu, 19 Nov 2015 08:39:45 +0000 (00:39 -0800)
committerBen Gotow <bengotow@gmail.com>
Thu, 19 Nov 2015 08:39:45 +0000 (00:39 -0800)
commitd427ae10301be73844deea427f144e94bf457e94
tree1e5079df8ec78befe4275e5ea75ee3b042bde35e
parent52e34ca0f9e40e5cd91b836ee4cfe7035fcf151c
Support the "desktop" window type on Mac OS X

Adds the desktop window type referenced in https://github.com/atom/electron/issues/2899 for compatiblity with the linux version. Note that on Mac OS X, the desktop window cannot receive input events (seems to be a limitation of being behind the desktop).

In this diff I also removed the `standardWindow` option from the docs, in favor of an additional `textured` value for window `type` on Mac OS X. The old `standardWindow` option continues to work, but seemed more confusing. If this seems like a bad idea, I can revert that change.
atom/browser/native_window_mac.mm
docs/api/browser-window.md