mouse button callbacks returns bool for consumption

This commit is contained in:
Mitchell Hashimoto
2024-06-30 09:40:06 -07:00
parent 38c31e98f1
commit 03f37087a5
5 changed files with 52 additions and 18 deletions

View File

@@ -533,7 +533,7 @@ ghostty_input_mods_e ghostty_surface_key_translation_mods(ghostty_surface_t,
ghostty_input_mods_e);
void ghostty_surface_key(ghostty_surface_t, ghostty_input_key_s);
void ghostty_surface_text(ghostty_surface_t, const char*, uintptr_t);
void ghostty_surface_mouse_button(ghostty_surface_t,
bool ghostty_surface_mouse_button(ghostty_surface_t,
ghostty_input_mouse_state_e,
ghostty_input_mouse_button_e,
ghostty_input_mods_e);