s_confirmCloseArgument
global · core
- Address
0x883f60· 4 bytes, up to0x883f63- Type
void *- Meaning
- Holds the confirm-close callback's argument
- Confidence
- verified, proof one
- Finding
- core/input#close-and-quit
Finding: Close and quit in core: window input
A close request (WM_CLOSE or SC_CLOSE) and WM_QUIT ask the confirm-close callback first, and
quit only on a nonzero answer. With no callback the answer is 1. The client installs one in its
context start handler and removes it in its stop handler: it closes the current context and
answers 0, so closing the window tears the context down at the end of that tick, dispatching
categories 3 and 4, before the loop ends.
The derivation is in the doc.