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

Module desktop_ipc

Module desktop_ipc 

Source
Expand description

Desktop IPC Protocol

Provides IPC communication channels for desktop applications (window manager, terminal, compositor, notifications, clipboard, launcher).

Each desktop subsystem registers a well-known endpoint so that user-space clients can discover and communicate with it by name rather than relying on dynamic ID allocation.

Modules§

helpers
Desktop IPC helper functions for building and parsing wire messages.

Structs§

ClipboardHeader
Clipboard header
CreateWindowRequest
Window creation request
CreateWindowResponse
Window creation response
DesktopIpcServer
Desktop IPC server that manages endpoint registration and message routing.
KeyEvent
Keyboard event
MouseEvent
Mouse event
NotificationRequest
Desktop notification request
ScrollEvent
Scroll event
UpdateWindowRequest
Window update request
WindowGeometryRequest
Window geometry query/response

Enums§

DesktopMessageType
Desktop IPC message types.

Constants§

COMPOSITOR_ENDPOINT
DESKTOP_CLIPBOARD_ENDPOINT
Clipboard manager endpoint (copy/paste, primary selection)
DESKTOP_COMPOSITOR_ENDPOINT
Compositor endpoint (surface compositing, damage, frame callbacks)
DESKTOP_INPUT_ENDPOINT
Input server endpoint (keyboard, mouse, touch event routing)
DESKTOP_LAUNCHER_ENDPOINT
Application launcher endpoint (app start, .desktop file queries)
DESKTOP_NOTIFICATION_ENDPOINT
Notification daemon endpoint (desktop notifications)
DESKTOP_WM_ENDPOINT
Window manager IPC endpoint (manages window lifecycle, focus, stacking)
INPUT_SERVER_ENDPOINT
WINDOW_MANAGER_ENDPOINT
Legacy aliases for backward compatibility with Phase 6 code.

Functions§

init
Initialize the desktop IPC system.
is_initialized
Check whether the desktop IPC system has been initialized.