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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Enable (Native) Wayland Support #2867

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

milux
Copy link

@milux milux commented Mar 21, 2024

This fix enables native Wayland on modern Linux distributions.

This is especially important when using fractional scaling on HiDPI displays, as RocketChat is blurry there and looks somewhat 馃挬y...

The x11 can be dropped as it is already covered by unity7 as per Snap desktop interface documentation: https://snapcraft.io/docs/desktop-interfaces

I added the necessary plug and the native wayland flag of the builder, plus 2 arguments that make electron choose the wayland compositor if it is available.

@milux
Copy link
Author

milux commented Mar 21, 2024

One more thing: The electron-builder update to v24 seems to be necessary in order to get the flags passed to rocketchat correctly. Seemed as if there is some kind of bug in v23.

@CLAassistant
Copy link

CLAassistant commented Mar 21, 2024

CLA assistant check
All committers have signed the CLA.

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.

None yet

2 participants