diff options
| author | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2024-06-30 09:40:06 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2024-06-30 09:42:15 -0700 |
| commit | 03f37087a5e24a76b02404da439ccc6fb7f3da76 (patch) | |
| tree | 42fa1bd54cfc09a6475e526d42b48ddc828d220b /include | |
| parent | 38c31e98f1f81e27a263d52b652c95db51fd73e5 (diff) | |
mouse button callbacks returns bool for consumption
Diffstat (limited to 'include')
| -rw-r--r-- | include/ghostty.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ghostty.h b/include/ghostty.h index e3a9e4223..2f1ce04a3 100644 --- a/include/ghostty.h +++ b/include/ghostty.h @@ -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); |
