mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-25 21:58:31 +01:00
9704152414
Instead of having a build-time option to enable/disable xwayland support, just use the wlroots build config: enable xwayland in Sway if it was enabled when building wlroots. I don't see any use-case for disabling xwayland in Sway when enabled in wlroots: Sway doesn't pull in any additional dependency (just pulls in dependencies that wlroots already needs). We have a config command to disable xwayland at runtime anyways. This makes it so xwayland behaves the same way as other features such as libinput backend and session support. This also reduces the build matrix (less combinations of build options). I think we originally introduced the xwayland option when we didn't have a good way to figure out the wlroots build config from the Sway build system.
10 lines
1 KiB
Meson
10 lines
1 KiB
Meson
option('default-wallpaper', type: 'boolean', value: true, description: 'Install the default wallpaper.')
|
|
option('zsh-completions', type: 'boolean', value: true, description: 'Install zsh shell completions.')
|
|
option('bash-completions', type: 'boolean', value: true, description: 'Install bash shell completions.')
|
|
option('fish-completions', type: 'boolean', value: true, description: 'Install fish shell completions.')
|
|
option('swaybar', type: 'boolean', value: true, description: 'Enable support for swaybar')
|
|
option('swaynag', type: 'boolean', value: true, description: 'Enable support for swaynag')
|
|
option('tray', type: 'feature', value: 'auto', description: 'Enable support for swaybar tray')
|
|
option('gdk-pixbuf', type: 'feature', value: 'auto', description: 'Enable support for more image formats in swaybar tray')
|
|
option('man-pages', type: 'feature', value: 'auto', description: 'Generate and install man pages')
|
|
option('sd-bus-provider', type: 'combo', choices: ['auto', 'libsystemd', 'libelogind', 'basu'], value: 'auto', description: 'Provider of the sd-bus library')
|