Skip to main content

par_term/app/handler/
mod.rs

1//! Application event handler
2//!
3//! This module implements the winit `ApplicationHandler` trait for `WindowManager`,
4//! routing window events to the appropriate `WindowState` and handling menu events.
5//!
6//! ## Sub-modules
7//!
8//! - `window_state_impl`: `impl WindowState` — shell integration, window event routing,
9//!   focus change, and per-frame `about_to_wait` polling.
10//! - `app_handler_impl`: `impl ApplicationHandler for WindowManager` — winit event loop
11//!   entry points (`resumed`, `window_event`, `about_to_wait`).
12//! - `wake`: folds every window's desired wake cadence into the single
13//!   `ControlFlow` the event loop can hold.
14
15mod app_handler_impl;
16pub(crate) mod wake;
17mod window_state_impl;