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+...@sardemff7.net>
Signed-off-by: Quentin Glidic <sardemff7+...@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
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel