diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2024-09-21 15:11:28 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2024-09-21 15:16:14 -0700 |
| commit | 261ce00552d3275d9f2790883ecbe9cff0be6187 (patch) | |
| tree | 629a943c02578b786492e31a145eefcb1db9d09e /include | |
| parent | fb6cd7a8fae5fc85aa9949fbde67fffd170d9bff (diff) | |
apprt/macos,gtk: unfocused splits now highlight hovered links
Fixes #1547
The core change to make this work is to make the cursor position
callback support taking updated modifiers. On both macOS and GTK, cursor
position events also provide the pressed modifiers so we can pass those
in.
Diffstat (limited to 'include')
| -rw-r--r-- | include/ghostty.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ghostty.h b/include/ghostty.h index c82411820..072a8536a 100644 --- a/include/ghostty.h +++ b/include/ghostty.h @@ -556,7 +556,10 @@ bool ghostty_surface_mouse_button(ghostty_surface_t, ghostty_input_mouse_state_e, ghostty_input_mouse_button_e, ghostty_input_mods_e); -void ghostty_surface_mouse_pos(ghostty_surface_t, double, double); +void ghostty_surface_mouse_pos(ghostty_surface_t, + double, + double, + ghostty_input_mods_e); void ghostty_surface_mouse_scroll(ghostty_surface_t, double, double, |
