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

Replace window checking idle loop with a timeout #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danielkza
Copy link
Contributor

Also, make sure the onWindowAdded callback is only called once when the
window is already properly added to the compositor. Keep the timeout
running otherwise, instead of setting a new one up every time.

This seems to fix #32 for me, but needs more testing, and testing on GNOME versions other than 3.16.

Also, make sure the onWindowAdded callback is only called once when the
window is already properly added to the compositor. Keep the timeout
running otherwise, instead of setting a new one up every time.
@Talv
Copy link

Talv commented Sep 14, 2015

Thanks for the fix.
Can confirm that it indeed does fix mentioned issue. Tested on arch gnome shell 3.16.3.

@ghost
Copy link

ghost commented Sep 23, 2015

Oops spoke too soon, upon restart MaximusTwo won't load as an extension.

@danielkza
Copy link
Contributor Author

@xhn35rq Any errors in the GNOME debug UI? (Alt-F2 -> lg)

@ghost
Copy link

ghost commented Sep 30, 2015

@danielkza thank you for checking with me, I just tried it again and this time no errors. I had to edit gnome-shell version in metadata.json to get it working as I'm on 3.14. So far gnome-shell is hovering between 0% and 5% depending on usage, which is usual for me. So far so good! Thanks again!

@wilfm
Copy link
Owner

wilfm commented Oct 4, 2015

I'll be able to test this on 3.16 and 3.18 then should be able to merge it. Do you think this should be available for 3.14 as well?

@ghost
Copy link

ghost commented Oct 6, 2015

I've had no issues with this branch so far.

@wilfm
Copy link
Owner

wilfm commented Nov 7, 2015

I have left this mess for far too long :( I will try and merge and fix stuff this evening or tomorrow...

@zakkak
Copy link

zakkak commented Dec 2, 2015

Tested on ArchLinux 64bit with Gnome 3.18 and everything looks fine, after about a full day of use.

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.

gnome-shell stays at ~20% CPU when using Maximus Two
4 participants