compositor: Improve xwayland warning message
authorArmin Krezović <krezovic.armin@gmail.com>
Thu, 9 Feb 2017 20:28:32 +0000 (21:28 +0100)
committerQuentin Glidic <sardemff7+git@sardemff7.net>
Thu, 9 Feb 2017 20:51:30 +0000 (21:51 +0100)
And fix formatting.

Signed-off-by: Armin Krezović <krezovic.armin@gmail.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
compositor/main.c

index 4bd6e68..72c3cd1 100644 (file)
@@ -860,9 +860,10 @@ load_modules(struct weston_compositor *ec, const char *modules,
                snprintf(buffer, sizeof buffer, "%.*s", (int) (end - p), p);
 
                if (strstr(buffer, "xwayland.so")) {
-                       weston_log("Old Xwayland module loading detected:"
-                                  "Please use --xwayland command line option"
-                                  "or weston.ini xwayland=true\n");
+                       weston_log("Old Xwayland module loading detected: "
+                                  "Please use --xwayland command line option "
+                                  "or set xwayland=true in the [core] section "
+                                  "in weston.ini\n");
                        *xwayland = 1;
                } else {
                        if (wet_load_module(ec, buffer, argc, argv) < 0)