/*
- * vim:ts=8:expandtab
+ * vim:ts=4:sw=4:expandtab
*
* i3 - an improved dynamic tiling window manager
+ * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
*
- * © 2009-2010 Michael Stapelberg and contributors
- *
- * See file LICENSE for license information.
+ * workspace.c: Modifying workspaces, accessing them, moving containers to
+ * workspaces.
*
*/
+#ifndef _WORKSPACE_H
+#define _WORKSPACE_H
#include "data.h"
#include "tree.h"
#include "randr.h"
-#ifndef _WORKSPACE_H
-#define _WORKSPACE_H
-
/**
* Returns a pointer to the workspace with the given number (starting at 0),
* creating the workspace if necessary (by allocating the necessary amount of
*/
Con* workspace_prev();
+/**
+ * Focuses the previously focused workspace.
+ *
+ */
+void workspace_back_and_forth();
+
+
#if 0
/**
* Assigns the given workspace to the given screen by correctly updating its