]> git.sur5r.net Git - i3/i3/blobdiff - include/workspace.h
Implement moving workspaces as if they're regular containers
[i3/i3] / include / workspace.h
index a7f2d13bd1ba47932f466b1aba5d41926543134e..907e959f0347e8903eef96bee29498698570f718 100644 (file)
@@ -174,4 +174,11 @@ void ws_force_orientation(Con *ws, orientation_t orientation);
  */
 Con *workspace_attach_to(Con *ws);
 
+/**
+ * Creates a new container and re-parents all of children from the given
+ * workspace into it.
+ *
+ * The container inherits the layout from the workspace.
+ */
+Con *workspace_encapsulate(Con *ws);
 #endif