void focus_last_ws(void)
Focus the last focused workspace.
Definition: workspace.c:106
void focus_next_ws(void)
Focus the next workspace.
Definition: workspace.c:117
void remove_ws(monitor_t *m, workspace_t *ws)
Remove a workspace and update the global state.
Definition: workspace.c:237
void change_ws(const workspace_t *ws)
Change to a different workspace and map the correct windows.
Definition: workspace.c:130
uint32_t workspace_to_index(const workspace_t *ws)
Find and return a workspace's index in the workspace list.
Definition: workspace.c:165
void focus_prev_ws(void)
Focus the previous workspace.
Definition: workspace.c:95
void kill_ws(monitor_t *m, workspace_t *ws)
Kills the given workspace.
Definition: workspace.c:29
void add_ws(monitor_t *m)
Create a new workspace and update global state.
Definition: workspace.c:201
workspace_t * index_to_workspace(const monitor_t *m, uint32_t index)
Convert a workspace's index in a workspace list to an index.
Definition: workspace.c:186
workspace_t * offset_ws(workspace_t *ws, int offset)
Return a workspace after offsetting.
Definition: workspace.c:77