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

Added option to prevent destroying the window when focus is lost when PLOTINUS_UNFOCUSED_PREVENT_CLOSE=true #22

Closed
wants to merge 1 commit into from

Conversation

CraftedCart
Copy link

@CraftedCart CraftedCart commented Apr 16, 2017

When the Plotinus window loses focus, it usually destroys the window. This is particulary irritating seeing as I have my WM configured to focus where the mouse is, so if the mouse doesn't happen to be over the Plotinus window, it sometimes gets destroyed immediately.

I added the option of setting the environment variable PLOTINUS_UNFOCUSED_PREVENT_CLOSE to true to prevent this behaviour. I'll leave it to you to add this to the readme if this does happen to get added.

Thanks ;)

…LOSE=true to prevent plotinus from closing when the window loses focus
@p-e-w
Copy link
Owner

p-e-w commented Apr 23, 2017

Thank you for pointing this out!

As of d52b395, the popup window is no longer destroyed when it loses focus, so this is not an issue anymore.

@p-e-w p-e-w closed this Apr 23, 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.

2 participants