From 32fa355d4d3b9945d02acc776a57feb17c2bcc50 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 16 Nov 2022 11:47:40 +1000 Subject: Route the Xwayland warning through stderr Otherwise we cannot pipe setxkmap -print into anything --- setxkbmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setxkbmap.c b/setxkbmap.c index 6b6259c..bdecd8c 100644 --- a/setxkbmap.c +++ b/setxkbmap.c @@ -1122,7 +1122,7 @@ main(int argc, char **argv) exit(1); if (is_xwayland()) - MSG("WARNING: Running setxkbmap against an XWayland server\n"); + ERR("WARNING: Running setxkbmap against an XWayland server\n"); settings.locale.value = setlocale(LC_ALL, settings.locale.value); settings.locale.src = FROM_SERVER; -- cgit v1.2.3