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

render-manager: Don't paint when session is not active #2484

Merged
merged 1 commit into from
Oct 5, 2024
Merged

Commits on Oct 3, 2024

  1. render-manager: Don't paint when session is not active

    This can happen when switching to another tty. A test is to run glxgears
    in a drm session with xwayland, then switch to another tty and run top.
    The wayfire cpu usage is 100+%. However with this patch, when the session
    is inactive, the cpu usage is negligible.
    
    One note is that patches were pushed to seatd recently which make the
    session->active state reliable. At the time of this writing, seatd does
    not have a release containing these patches, so for this to work reliably,
    seatd git master is recommended.
    soreau committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    53999a0 View commit details
    Browse the repository at this point in the history