summaryrefslogtreecommitdiff
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2018-04-02 12:23:15 -0400
committerGitHub <[email protected]>2018-04-02 12:23:15 -0400
commit7e3aa1daa8b945b762d98bc67c660cdc6c94b72f (patch)
treed2b9dd4816efdf861e71bcd1eff6a70928e59dc6 /include/sway/tree/container.h
parent122b96abed9955f78e3f157167d34312f5bb551d (diff)
parente3689dd5a93b4f4ae62637a2b81797335aafdcaf (diff)
Merge pull request #1693 from swaywm/move-cmd
Partially implement move command
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r--include/sway/tree/container.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 6aa66da0..aff2e58e 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -84,9 +84,14 @@ struct sway_container {
struct {
struct wl_signal destroy;
+ // Raised after the tree updates, but before arrange_windows
+ // Passed the previous parent
+ struct wl_signal reparent;
} events;
};
+const char *container_type_to_str(enum sway_container_type type);
+
// TODO only one container create function and pass the type?
struct sway_container *container_output_create(
struct sway_output *sway_output);