ghostty_mouse_event_get_position function
- @Native<GhosttyMousePosition Function(GhosttyMouseEvent)>(GhosttyMouseEvent)>()
- GhosttyMouseEvent event
Get the event position in surface-space pixels.
@param event The event handle, must not be NULL @return The current event position
@ingroup mouse
Implementation
@ffi.Native<GhosttyMousePosition Function(GhosttyMouseEvent)>()
external GhosttyMousePosition ghostty_mouse_event_get_position(
GhosttyMouseEvent event,
);