Preserve back_and_forth during restart
Add new key "previous_workspace_name" to the json dump of the root container.
This commit is contained in:
@ -24,6 +24,13 @@
|
||||
#define NET_WM_DESKTOP_NONE 0xFFFFFFF0
|
||||
#define NET_WM_DESKTOP_ALL 0xFFFFFFFF
|
||||
|
||||
/**
|
||||
* Stores a copy of the name of the last used workspace for the workspace
|
||||
* back-and-forth switching.
|
||||
*
|
||||
*/
|
||||
extern char *previous_workspace_name;
|
||||
|
||||
/**
|
||||
* Returns the workspace with the given name or NULL if such a workspace does
|
||||
* not exist.
|
||||
|
Reference in New Issue
Block a user