Skip to content
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

Fix the screen become black on closing Boostnote when a state of Boostnote is fullscreen on mac #349

Merged
merged 2 commits into from
Apr 22, 2017

Conversation

asmsuechan
Copy link
Contributor

I fixed it. But I don't have any ways to check the behavior of windows or Linux. Someone, please help me.

2b93d78c673a56aa189ded5cfc05f316

#332 (comment)

@@ -40,12 +40,19 @@ mainWindow.webContents.sendInputEvent({

if (process.platform !== 'linux' || process.env.DESKTOP_SESSION === 'cinnamon') {
mainWindow.on('close', function (e) {
e.preventDefault()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@sota1235 sota1235 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sota1235 sota1235 merged commit b9270cd into BoostIO:master Apr 22, 2017
@sota1235 sota1235 mentioned this pull request Apr 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants