[PATCH weston 1/3] weston: Add a specific option to load XWayland
Quentin Glidic
sardemff7+wayland at sardemff7.net
Mon Jul 4 14:04:19 UTC 2016
On 04/07/2016 16:02, Michael Schellenberger Costa wrote:
> Hi Quentin,
>
> Am 04.07.2016 um 15:58 schrieb Quentin Glidic:
>> From: Quentin Glidic <sardemff7+git at sardemff7.net>
>>
>> Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
>> ---
>> compositor/main.c | 25 +++++++++++++++----------
>> man/weston.ini.man | 7 +++++--
>> man/weston.man | 7 +++++--
>> tests/weston-tests-env | 7 ++++---
>> weston.ini.in | 3 ++-
>> 5 files changed, 31 insertions(+), 18 deletions(-)
>>
>> diff --git a/compositor/main.c b/compositor/main.c
>> index 6cf9194..4e6b7ae 100644
>> --- a/compositor/main.c
>> +++ b/compositor/main.c
>> [snip]
>> + if (!xwayland)
>> + weston_config_section_get_bool(section, "xwayland", &xwayland,
>> + false);
>> + if (xwayland) {
> Can you make that the else clause?
No, this pattern is there so we get the config file value as fallback.
> --Michael
>
>> [snip]
--
Quentin “Sardem FF7” Glidic
More information about the wayland-devel
mailing list