> home > Custom Layer Boundary API

leave_current_input_unhandled

September 8th 2024
Notifies the core that the input currently being handled by a view context thread should be treated as if it were not handled

Signature

C++
void
leave_current_input_unhandled(Application_Links* app);

Parameters

app

the standard custom layer context pointer

Details

When events are handled, future handlers for them are skipped. This is especially important because text input is passed as a seperate event after key stroke events, and if a key stroke event is marked as handled, then the text event that would have been generated by the key stroke is skipped.