Skip to content

screen-share: Fix start-on-startup config option handling

The code currently checked the return value of weston_config_section_get_bool() which is incorrect. The return value of weston_config_section_get_bool() is zero whether the config option is present or not, and it is non-zero in case the config option is not present.

The code must check whether the config option is either true or false, or in case the option is not present then default to false. Adjust the code accordingly.

Merge request reports