aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-04-02 13:23:43 -0400
committerTony Crisci <tony@dubstepdish.com>2018-04-02 13:23:43 -0400
commit5e024278a62e6fb00a0521240244c428d2382984 (patch)
treed9010d33d4d576297cc5e40d41bed4bb7bf5631a /include/sway/tree/container.h
parent22287b42bf323457d779b1023764ade83313b199 (diff)
parent2a8985a3451f8be7e4b1eb21e3266e9f5b979b39 (diff)
Merge branch 'wlroots' into seat-fixes
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);