Add debug prints for mouse events

This commit is contained in:
Kovid Goyal
2021-05-11 10:22:30 +05:30
parent 1e89cdc055
commit dfbe1bd234
5 changed files with 13 additions and 4 deletions

View File

@@ -90,7 +90,7 @@ update_ime_position(OSWindow *os_window, Window* w, Screen *screen) {
glfwUpdateIMEState(global_state.callback_os_window->handle, &ev);
}
static inline const char*
const char*
format_mods(unsigned mods) {
static char buf[128];
char *p = buf, *s;