i3
include/workspace.h
Go to the documentation of this file.
00001 /*
00002  * vim:ts=4:sw=4:expandtab
00003  *
00004  * i3 - an improved dynamic tiling window manager
00005  * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
00006  *
00007  * workspace.c: Modifying workspaces, accessing them, moving containers to
00008  *              workspaces.
00009  *
00010  */
00011 #ifndef _WORKSPACE_H
00012 #define _WORKSPACE_H
00013 
00014 #include "data.h"
00015 #include "tree.h"
00016 #include "randr.h"
00017 
00027 Con *workspace_get(const char *num, bool *created);
00028 
00029 #if 0
00030 
00037 void workspace_set_name(Workspace *ws, const char *name);
00038 #endif
00039 
00046 bool workspace_is_visible(Con *ws);
00047 
00052 void workspace_show(Con *ws);
00053 
00058 void workspace_show_by_name(const char *num);
00059 
00064 Con* workspace_next();
00065 
00070 Con* workspace_prev();
00071 
00076 void workspace_back_and_forth();
00077 
00078 
00079 #if 0
00080 
00089 void workspace_assign_to(Workspace *ws, Output *screen, bool hide_it);
00090 
00098 void workspace_initialize(Workspace *ws, Output *screen, bool recheck);
00099 
00105 Workspace *get_first_workspace_for_output(Output *screen);
00106 
00115 void workspace_unmap_clients(xcb_connection_t *conn, Workspace *u_ws);
00116 
00121 void workspace_map_clients(xcb_connection_t *conn, Workspace *ws);
00122 #endif
00123 
00129 void workspace_update_urgent_flag(Con *ws);
00130 
00137 void ws_force_orientation(Con *ws, orientation_t orientation);
00138 
00149 Con *workspace_attach_to(Con *ws);
00150 
00151 #endif