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 DE check for Disable Desktop Effects #2830

Conversation

Technohacker
Copy link
Contributor

Fixes #2827

Some distros (like Gentoo) have an expanded $DESKTOP_SESSION containing
the whole path to the desktop session rather than just the session's
name. This commit changes the check to endswith rather than equals to
account for such a situation

Fixes lutris#2827

Some distros (like Gentoo) have an expanded $DESKTOP_SESSION containing
the whole path to the desktop session rather than just the session's
name. This commit changes the check to endswith rather than equals to
account for such a situation
@strycore strycore merged commit 5d3e901 into lutris:master May 6, 2020
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.

Disable desktop effects does not work on Gentoo due to expanded $DESKTOP_SESSION variable
2 participants