mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
This tries to connect to DBUS to request RTTimeUSecMax from RTKit and than changes the scheduling policy of sway to SCHED_RR. I tested the impact using hackbench, with this patch I don't see any cursor stuttering while running the following hackbench command: $ hackbench -f 100 -l 100000 -s 100000 This also fixes the "your compositor is too slow"-warnings from libinput. The rtkit feature is currently auto, so if one of the SD-Bus libraries is installed we will select it. However we will fail graciously with only a debug note if we can't reach RTKit and won't touch RLIMIT_RTTIME in this case. Users who don't want to have DBUS within sway itself can disable the feature.
12 lines
1.3 KiB
Meson
12 lines
1.3 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('xwayland', type: 'feature', value: 'auto', description: 'Enable support for X11 applications')
|
|
option('tray', type: 'feature', value: 'auto', description: 'Enable support for swaybar tray')
|
|
option('rtkit', type: 'feature', value: 'auto', description: 'Enable support to request realtime policy via RTKit')
|
|
option('gdk-pixbuf', type: 'feature', value: 'auto', description: 'Enable support for more image formats in swaybg')
|
|
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')
|