PatchworkOS  c9fea19
A non-POSIX operating system.
Loading...
Searching...
No Matches
Desktop Window Manager

Desktop Window Manager. More...

Collaboration diagram for Desktop Window Manager:

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.

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)
 

Function Documentation

◆ dwm_init()

void dwm_init ( void  )

Definition at line 84 of file dwm.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dwm_deinit()

void dwm_deinit ( void  )

Definition at line 149 of file dwm.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dwm_report_produce()

void dwm_report_produce ( surface_t surface,
client_t client,
report_flags_t  flags 
)

Definition at line 158 of file dwm.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dwm_surface_find()

surface_t * dwm_surface_find ( surface_id_t  id)

Definition at line 173 of file dwm.c.

Here is the caller graph for this function:

◆ dwm_attach()

uint64_t dwm_attach ( surface_t surface)

Definition at line 206 of file dwm.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dwm_detach()

void dwm_detach ( surface_t surface)

Definition at line 271 of file dwm.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dwm_focus_set()

void dwm_focus_set ( surface_t surface)

Definition at line 322 of file dwm.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dwm_loop()

void dwm_loop ( void  )

Definition at line 720 of file dwm.c.

Here is the call graph for this function:
Here is the caller graph for this function: