⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module window_manager

Module window_manager 

Source
Expand description

Window Manager with Event Loop

Manages windows, input events, and coordinates desktop applications. Provides window placement heuristics, snap/tile support, and virtual workspaces.

Public API methods define the complete window management interface. Some methods (e.g., tiling layouts, opacity control) are not yet wired into the desktop renderer but are retained as part of the WM API surface.

Structs§

Window
Window structure
WindowEvent
Window event
WindowManager
Window Manager
Workspace
Virtual workspace containing a set of windows

Enums§

InputEvent
Input event types
PlacementHeuristic
Window placement heuristic
SnapZone
Snap zone for window tiling
TileLayout
Tile layout mode for arranging all visible windows
WindowState
Window state

Constants§

MAX_WORKSPACES
Maximum number of workspaces

Functions§

get_window_manager
Get the global window manager (deprecated - use with_window_manager instead)
init
Initialize window manager
with_window_manager
Execute a function with the window manager

Type Aliases§

WindowId
Window ID type
WorkspaceId
Workspace identifier