If moving the last ws, create a new one in its place.
This seems better than refusing to move the last workspace.
This commit is contained in:
committed by
Michael Stapelberg
parent
974e70459d
commit
a22f161ab5
@ -26,6 +26,14 @@
|
||||
*/
|
||||
Con *workspace_get(const char *num, bool *created);
|
||||
|
||||
/*
|
||||
* Returns a pointer to a new workspace in the given output. The workspace
|
||||
* is created attached to the tree hierarchy through the given content
|
||||
* container.
|
||||
*
|
||||
*/
|
||||
Con *create_workspace_on_output(Output *output, Con *content);
|
||||
|
||||
#if 0
|
||||
/**
|
||||
* Sets the name (or just its number) for the given workspace. This has to
|
||||
|
Reference in New Issue
Block a user