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

snow should freeze if the page is loaded in the background #1

Closed
welwood08 opened this issue Dec 3, 2010 · 2 comments
Closed

snow should freeze if the page is loaded in the background #1

welwood08 opened this issue Dec 3, 2010 · 2 comments

Comments

@welwood08
Copy link
Contributor

I got as far as disabling all my add-ons before I worked out Firefox's extra CPU usage was caused by having a tab (2 in my case) with snow open that I hadn't switched to in the current session.

Since it's impossible to detect if the window is already blurred on load, I was thinking of changing it to only start after the user moves their mouse. Naturally, freezeOnBlur=false would bypass this.

Any obvious problems with doing that I may have missed?

@scottschiller
Copy link
Owner

This sounds like a good idea. If you don't have one yet, feel free to fork SnowStorm, commit your change and make a pull request! Focus/blur can be a bit buggy, and this is an edge case I don't think I have covered.

I'm in the midst of tinkering with some new features, but I shouldn't have any problem merging this idea in also.

@scottschiller
Copy link
Owner

Merged and closed; looks to be all good! Thanks for the contribution.

This issue was closed.
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

No branches or pull requests

2 participants