Skip to main content

Module window_extras

Module window_extras 

Source
Expand description

Platform-specific window attributes for deep desktop scenarios.

Provides apply_window_attributes, called right after a tao window is built. It realizes the Wallpaper/Overlay window kinds and click-through requested in crate::config::WindowConfig.

  • Click-through: the window ignores pointer input, which falls through to whatever is behind it. Required for wallpaper; optional for overlays.
  • Desktop layer: the window is reparented beneath the desktop icons (Windows: WorkerW; macOS: kCGDesktopWindowLevel) so it behaves like a Wallpaper-Engine-style background.

Functionsยง

apply_window_attributes
Apply config.kind / config.click_through to a freshly built window.
window_icon
Convert a framework icon into the platform window icon type.