Refactor functions for easy reuse

This commit is contained in:
Ingo Bürk
2015-03-04 09:22:25 +01:00
parent bcc1314a2d
commit eb73059c61
5 changed files with 150 additions and 119 deletions

View File

@ -179,3 +179,10 @@ Con *workspace_attach_to(Con *ws);
* The container inherits the layout from the workspace.
*/
Con *workspace_encapsulate(Con *ws);
/**
* Move the given workspace to the specified output.
* This returns true if and only if moving the workspace was successful.
*
*/
bool workspace_move_to_output(Con *ws, char *output);