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

Add support for Wayland session #59

Merged
merged 2 commits into from
Feb 9, 2025
Merged

Conversation

znarfm
Copy link
Contributor

@znarfm znarfm commented Feb 9, 2025

This change ensures compatibility with Wayland by adding a command-line argument to use the X11 platform when the XDG_SESSION_TYPE environment variable is set to wayland. If it is not set (i.e. in Windows or MacOS, it does not add the --ozone-platform=x11 flag to the arguments to launch the chromium-based browser.

This is somewhat a temporary workaround, since it still uses X11 instead of Wayland. I assume if there exist a system that fully uses only Wayland, then this fix would be not applicable to them. But, I have yet to see a system that does that.

Tested on:

  • EndeavourOS x86_64
  • Windows 11 (if the change will introduce bugs to non-Linux OSes)

Closes #58

@jack-mil jack-mil merged commit 56d92c8 into jack-mil:develop Feb 9, 2025
1 check passed
@jack-mil
Copy link
Owner

jack-mil commented Feb 9, 2025

Thanks for your continued contrinutions !

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