raise window owner
Intrepid/Prometeu/Runtime/pipeline/head This commit looks good

This commit is contained in:
2026-05-15 11:26:41 +01:00
parent 1663ab5413
commit a8e3040d1e
13 changed files with 107 additions and 40 deletions
@@ -0,0 +1,21 @@
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,
}