1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// SPDX-License-Identifier: MPL-2.0
// SPDX-FileCopyrightText: 2026 FernTech
//! Private queue element produced by `WindowState` observers.
//!
//! When an app-side signal write fires its observer, the observer pushes
//! one of these into [`WindowStateInner::pending_os_commands`](
//! super::state::WindowState). The app-level window manager drains that
//! queue once per tick and translates each command into a winit call.
use WindowPlacement;
/// Intensity level for a user-attention request.
///
/// Mirrors winit's `UserAttentionType` so platforms that distinguish a
/// critical (red bouncing dock icon on macOS) vs informational
/// (one-bounce / taskbar flash) request can honour it.
/// App → OS command produced by a `WindowState` signal observer.
///
/// Queued on [`WindowState`](super::state::WindowState) and drained by
/// the app-level window manager after event dispatch. Application code
/// does not construct these directly; writing to a signal field on
/// `WindowState` is how you emit one.