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"