Make the debug logging functions consistent

They now all output the same format of:
[time since program start] msg
This commit is contained in:
Kovid Goyal
2024-04-08 12:53:55 +05:30
parent 208490f4e1
commit 8fc96c5bd7
23 changed files with 73 additions and 58 deletions

View File

@@ -10,8 +10,7 @@
#include "wayland-text-input-unstable-v3-client-protocol.h"
#include <stdlib.h>
#include <string.h>
#undef debug
#define debug(...) if (_glfw.hints.init.debugKeyboard) printf(__VA_ARGS__);
#define debug debug_input
static struct zwp_text_input_v3* text_input;
static struct zwp_text_input_manager_v3* text_input_manager;