Files
prometeu-runtime/crates/console/prometeu-system/src/services/windows/window_owner.rs
T
bquarkz a8e3040d1e
Intrepid/Prometeu/Runtime/pipeline/head This commit looks good
raise window owner
2026-05-15 11:26:41 +01:00

22 lines
690 B
Rust

use crate::task::TaskId;
/// Identifies the logical owner of a shell window.
///
/// Game cartridges do not currently own WindowManager windows. Games run as
/// fullscreen firmware steps. The WindowManager is used for Hub/Home UI,
/// Shell task windows, and system overlays.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum WindowOwner {
/// Window owned by the Prometeu Hub/Home.
Hub,
/// Window owned by a managed Shell task.
Task(TaskId),
/// Temporary system-owned window drawn above the current context.
///
/// Examples: notifications, crash dialogs, quick menus, debug panels,
/// permission prompts, and modal confirmations.
Overlay,
}