Commit graph

2 commits

Author SHA1 Message Date
Marco Trevisan
119e847545 snap: Make native wayland client support configurable
Make possible for users to enable the native wayland client by using
  snap set mailspring wayland-native=true

By default mailspring will use xwayland, but the support can be toggled
by users with the said command.
2025-04-15 15:28:07 +02:00
Marco Trevisan
bbfd589e09 snap: Run as native wayland client if possible
The new electron versions support wayland natively, this implies
that mailspring can use the native rendering when in a wayland
desktop environment, bringing various benefits including a better
rendering in high DPI displays.

To enable this electron still requires some flags, so add a wrapper
launcher that is used to enable them unless wayland isn't explicitly
disabled.
2025-04-15 15:26:59 +02:00