From b09f5f42dcc58cf73ae5ca85a65018aaee72e06f Mon Sep 17 00:00:00 2001 From: Mariusz Ceier Date: Wed, 2 Dec 2020 12:29:15 +0100 Subject: [PATCH] xwayland: Replace LogMessage with LogMessageVerb LogMessage logs only when the XLOG_VERBOSITY is >= 1, but by default XLOG_VERBOSITY is 0. Signed-off-by: Mariusz Ceier (cherry picked from commit 95539ab37baa1292d1f2daaa552f9741b0364cad) --- hw/xwayland/xwayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xwayland/xwayland.c b/hw/xwayland/xwayland.c index b353167c3..c126d95b3 100644 --- a/hw/xwayland/xwayland.c +++ b/hw/xwayland/xwayland.c @@ -178,8 +178,8 @@ xwl_window_set_allow_commits_from_property(struct xwl_window *xwl_window, xwl_window_set_allow_commits(xwl_window, TRUE, "WM fault"); if (!warned) { - LogMessage(X_WARNING, "Window manager is misusing property %s.\n", - NameForAtom(prop->propertyName)); + LogMessageVerb(X_WARNING, 0, "Window manager is misusing property %s.\n", + NameForAtom(prop->propertyName)); warned = TRUE; } return;