PatchworkOS
Loading...
Searching...
No Matches
Desktop Window Manager

Desktop Window Manager. More...

Data Structures

struct  poll_ctx_t
 

Functions

void dwm_init (void)
 
void dwm_deinit (void)
 
void dwm_report_produce (surface_t *surface, client_t *client, report_flags_t flags)
 
surface_tdwm_surface_find (surface_id_t id)
 
uint64_t dwm_attach (surface_t *surface)
 
void dwm_detach (surface_t *surface)
 
void dwm_focus_set (surface_t *surface)
 
void dwm_loop (void)
 

Detailed Description

Desktop Window Manager.

The Desktop Window Manager (DWM) is the window manager for PatchworkOS. It is responsible for managing windows, panels, cursors, and other surfaces, as well as handling input events from the keyboard and mouse.

Function Documentation

◆ dwm_attach()

◆ dwm_deinit()

void dwm_deinit ( void  )

Definition at line 158 of file dwm.c.

References close(), data, free(), kbd, mouse, and pollCtx.

Referenced by main().

◆ dwm_detach()

◆ dwm_focus_set()

◆ dwm_init()

void dwm_init ( void  )

◆ dwm_loop()

void dwm_loop ( void  )

Definition at line 729 of file dwm.c.

References dwm_update().

Referenced by main().

◆ dwm_report_produce()

◆ dwm_surface_find()