Implement 'workspace next/prev' (+test)

This commit is contained in:
Michael Stapelberg
2011-06-10 16:03:59 +02:00
parent c5a44f12d4
commit 60ae26c19d
6 changed files with 145 additions and 9 deletions

View File

@ -49,6 +49,18 @@ bool workspace_is_visible(Con *ws);
/** Switches to the given workspace */
void workspace_show(const char *num);
/**
* Focuses the next workspace.
*
*/
void workspace_next();
/**
* Focuses the previous workspace.
*
*/
void workspace_prev();
#if 0
/**
* Assigns the given workspace to the given screen by correctly updating its