From 0248edbdb98cc3ae80d98bf5ad17fbf497a24a43 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 14 Feb 2022 15:03:31 +0530 Subject: [PATCH] xkb debug events should be printed to stderr --- glfw/xkb_glfw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glfw/xkb_glfw.c b/glfw/xkb_glfw.c index 9adb85c5c..b35055036 100644 --- a/glfw/xkb_glfw.c +++ b/glfw/xkb_glfw.c @@ -33,7 +33,7 @@ #include #endif -#define debug(...) if (_glfw.hints.init.debugKeyboard) printf(__VA_ARGS__); +#define debug(...) if (_glfw.hints.init.debugKeyboard) fprintf(stderr, __VA_ARGS__); #ifdef XKB_HAS_NO_UTF32 #include "xkb-compat-shim.h"