rename the internal function to _workspace_show, add a comment to workspace_show_by_name

This commit is contained in:
Michael Stapelberg
2011-10-02 22:03:16 +01:00
parent 92cc4494aa
commit b2ad9a77c8
2 changed files with 22 additions and 9 deletions

View File

@ -46,8 +46,16 @@ void workspace_set_name(Workspace *ws, const char *name);
*/
bool workspace_is_visible(Con *ws);
/** Switches to the given workspace */
/**
* Switches to the given workspace
*
*/
void workspace_show(Con *ws);
/**
* Looks up the workspace by name and switches to it.
*
*/
void workspace_show_by_name(const char *num);
/**