compositor: Improve xwayland warning message

And fix formatting.

Signed-off-by: Armin Krezović <krezovic.armin@gmail.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Armin Krezović
2017-02-09 21:28:32 +01:00
committed by Quentin Glidic
parent efc2b1d4db
commit e6b7136641
+2 -1
View File
@@ -862,7 +862,8 @@ load_modules(struct weston_compositor *ec, const char *modules,
if (strstr(buffer, "xwayland.so")) { if (strstr(buffer, "xwayland.so")) {
weston_log("Old Xwayland module loading detected: " weston_log("Old Xwayland module loading detected: "
"Please use --xwayland command line option " "Please use --xwayland command line option "
"or weston.ini xwayland=true\n"); "or set xwayland=true in the [core] section "
"in weston.ini\n");
*xwayland = 1; *xwayland = 1;
} else { } else {
if (wet_load_module(ec, buffer, argc, argv) < 0) if (wet_load_module(ec, buffer, argc, argv) < 0)