|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Portal::Forma::Context::sync_size | ( | ) |
Run the resize callbacks if the window's size differs from the size they last saw.
A window can reach its real size after the callbacks were registered, for instance when the compositor answers the requested size with another, and the resize event that carried it may predate them. Input events call this first, so the callbacks catch up on the first pointer or key event; call it directly to catch up sooner. A no-op when the size has not changed.
Definition at line 537 of file Context.cpp.
References handle_resize(), m_known_height, m_known_width, and m_window.
Referenced by handle_key_press(), handle_move(), handle_press(), handle_scroll(), and handle_text().
Here is the call graph for this function:
Here is the caller graph for this function: