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 <mceier+freedesktop@gmail.com>
(cherry picked from commit 95539ab37b)
This commit is contained in:
Mariusz Ceier 2020-12-02 12:29:15 +01:00 committed by Olivier Fourdan
parent c17872d502
commit b09f5f42dc
1 changed files with 2 additions and 2 deletions

View File

@ -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;