use kCGMinimumWindowLevelKey to get the minimum level

This commit is contained in:
leethomas 2017-01-26 19:12:10 -08:00
parent b67d515a76
commit edbb786fb4
2 changed files with 5 additions and 4 deletions

View file

@ -518,7 +518,7 @@ describe('BrowserWindow module', function () {
if (process.platform !== 'darwin') return
assert.throws(function () {
w.setAlwaysOnTop(true, '', -1)
w.setAlwaysOnTop(true, '', -2147483644)
})
assert.throws(function () {