44 void workspace_set_name(Workspace *ws,
const char *name);
114 void workspace_assign_to(Workspace *ws,
Output *screen,
bool hide_it);
123 void workspace_initialize(Workspace *ws,
Output *screen,
bool recheck);
130 Workspace *get_first_workspace_for_output(
Output *screen);
140 void workspace_unmap_clients(xcb_connection_t *
conn, Workspace *u_ws);
146 void workspace_map_clients(xcb_connection_t *
conn, Workspace *ws);
Con * workspace_attach_to(Con *ws)
Called when a new con (with a window, not an empty or split con) should be attached to the workspace ...
Con * workspace_encapsulate(Con *ws)
Creates a new container and re-parents all of children from the given workspace into it...
Con * workspace_next(void)
Returns the next workspace.
bool workspace_is_visible(Con *ws)
Returns true if the workspace is currently visible.
Con * workspace_prev_on_output(void)
Returns the previous workspace on the same output.
void workspace_show(Con *workspace)
Switches to the given workspace.
Con * create_workspace_on_output(Output *output, Con *content)
An Output is a physical output on your graphics driver.
void workspace_show_by_name(const char *num)
Looks up the workspace by name and switches to it.
Con * workspace_back_and_forth_get(void)
Returns the previously focused workspace con, or NULL if unavailable.
void workspace_back_and_forth(void)
Focuses the previously focused workspace.
void workspace_update_urgent_flag(Con *ws)
Goes through all clients on the given workspace and updates the workspace’s urgent flag accordingly...
void ws_force_orientation(Con *ws, orientation_t orientation)
'Forces' workspace orientation by moving all cons into a new split-con with the same orientation as t...
A 'Con' represents everything from the X11 root window down to a single X11 window.
Con * workspace_get(const char *num, bool *created)
Returns a pointer to the workspace with the given number (starting at 0), creating the workspace if n...
Con * workspace_prev(void)
Returns the previous workspace.
Con * workspace_next_on_output(void)
Returns the next workspace on the same output.