Commit af761c98 authored by Olivier Fourdan's avatar Olivier Fourdan 🛠

log: Prefer stdout

g_message() logs to stderr, while with debug enabled, stderr is
redirected to a file (or even /dev/null).

Use either g_info() or g_print() instead.
Signed-off-by: Olivier Fourdan's avatarOlivier Fourdan <fourdan@xfce.org>
parent 92648bdf
Pipeline #5775 passed with stage
in 14 seconds
...@@ -1147,7 +1147,7 @@ check_glx_renderer (ScreenInfo *screen_info) ...@@ -1147,7 +1147,7 @@ check_glx_renderer (ScreenInfo *screen_info)
i++; i++;
if (prefer_xpresent[i]) if (prefer_xpresent[i])
{ {
g_message ("Prefer XPresent with %s", glRenderer); g_info ("Prefer XPresent with %s", glRenderer);
return FALSE; return FALSE;
} }
} }
......
...@@ -102,8 +102,8 @@ myScreenSetWMAtom (ScreenInfo *screen_info, gboolean replace_wm) ...@@ -102,8 +102,8 @@ myScreenSetWMAtom (ScreenInfo *screen_info, gboolean replace_wm)
{ {
if (!replace_wm) if (!replace_wm)
{ {
g_message ("Another Window Manager (%s) is already running on screen %s", wm_name, display_name); g_print ("Another Window Manager (%s) is already running on screen %s\n", wm_name, display_name);
g_message ("To replace the current window manager, try \"--replace\""); g_print ("To replace the current window manager, try \"--replace\"\n");
g_free (display_name); g_free (display_name);
return FALSE; return FALSE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment