aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/workspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/tree/workspace.h')
-rw-r--r--include/sway/tree/workspace.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h
index c9dbb538..35c91017 100644
--- a/include/sway/tree/workspace.h
+++ b/include/sway/tree/workspace.h
@@ -9,7 +9,7 @@ struct sway_view;
struct sway_workspace {
struct sway_container *swayc;
struct sway_container *fullscreen;
- struct sway_container *floating;
+ list_t *floating; // struct sway_container
list_t *output_priority;
bool urgent;
};
@@ -63,4 +63,7 @@ struct sway_container *workspace_find_container(struct sway_container *ws,
*/
struct sway_container *workspace_wrap_children(struct sway_container *ws);
+void workspace_add_floating(struct sway_container *workspace,
+ struct sway_container *con);
+
#endif