Skip to content

Commit

Permalink
compositor: Improve xwayland warning message
Browse files Browse the repository at this point in the history
And fix formatting.

Signed-off-by: Armin Krezović <[email protected]>
Reviewed-by: Quentin Glidic <[email protected]>
  • Loading branch information
krezovic authored and sardemff7 committed Feb 9, 2017
1 parent efc2b1d commit e6b7136
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions compositor/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e6b7136

Please sign in to comment.