24#define NET_WM_DESKTOP_NONE 0xFFFFFFF0
25#define NET_WM_DESKTOP_ALL 0xFFFFFFFF
Con * workspace_back_and_forth_get(void)
Returns the previously focused workspace con, or NULL if unavailable.
Con * get_existing_workspace_by_name(const char *name)
Returns the workspace with the given name or NULL if such a workspace does not exist.
void workspace_show(Con *ws)
Switches to the given workspace.
bool output_triggers_assignment(Output *output, struct Workspace_Assignment *assignment)
Returns true if the first output assigned to a workspace with the given workspace assignment is the s...
Con * create_workspace_on_output(Output *output, Con *content)
Returns a pointer to a new workspace in the given output.
Con * workspace_next_on_output(void)
Returns the next workspace on the same output.
void workspace_update_urgent_flag(Con *ws)
Goes through all clients on the given workspace and updates the workspace’s urgent flag accordingly.
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.
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_get(const char *num)
Returns a pointer to the workspace with the given number (starting at 0), creating the workspace if n...
void workspace_back_and_forth(void)
Focuses the previously focused workspace.
void workspace_move_to_output(Con *ws, Output *output)
Move the given workspace to the specified output.
Con * workspace_next(void)
Returns the next workspace.
void extract_workspace_names_from_bindings(void)
Extracts workspace names from keybindings (e.g.
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...
Con * get_existing_workspace_by_num(int num)
Returns the workspace with the given number or NULL if such a workspace does not exist.
Con * workspace_prev(void)
Returns the previous workspace.
void workspace_show_by_name(const char *num)
Looks up the workspace by name and switches to it.
char * previous_workspace_name
Stores a copy of the name of the last used workspace for the workspace back-and-forth switching.
Con * workspace_encapsulate(Con *ws)
Creates a new container and re-parents all of children from the given workspace into it.
Con * get_assigned_output(const char *name, long parsed_num)
Returns the first output that is assigned to a workspace specified by the given name or number.
Stores which workspace (by name or number) goes to which output and its gaps config.
An Output is a physical output on your graphics driver.
A 'Con' represents everything from the X11 root window down to a single X11 window.