summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-03-31 00:44:17 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-03-31 15:37:16 -0400
commit7706d83160267be61accb1b6f7bdc2f43299cae7 (patch)
tree64b9751ee7edf613c9e3a06d1f5446501f4ddbaf /include
parentMerge pull request #1684 from swaywm/follow-warp (diff)
downloadsway-7706d83160267be61accb1b6f7bdc2f43299cae7.tar.gz
sway-7706d83160267be61accb1b6f7bdc2f43299cae7.tar.zst
sway-7706d83160267be61accb1b6f7bdc2f43299cae7.zip
basic split containers
Diffstat (limited to 'include')
-rw-r--r--include/sway/input/seat.h2
-rw-r--r--include/sway/tree/container.h2
-rw-r--r--include/sway/tree/layout.h3
3 files changed, 6 insertions, 1 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index 31210a5a..38795e14 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -74,7 +74,7 @@ struct sway_container *sway_seat_get_focus_inactive(struct sway_seat *seat,
74 struct sway_container *container); 74 struct sway_container *container);
75 75
76struct sway_container *sway_seat_get_focus_by_type(struct sway_seat *seat, 76struct sway_container *sway_seat_get_focus_by_type(struct sway_seat *seat,
77 enum sway_container_type type); 77 struct sway_container *container, enum sway_container_type type);
78 78
79void sway_seat_set_config(struct sway_seat *seat, struct seat_config *seat_config); 79void sway_seat_set_config(struct sway_seat *seat, struct seat_config *seat_config);
80 80
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 6aa66da0..46f1c5ab 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -87,6 +87,8 @@ struct sway_container {
87 } events; 87 } events;
88}; 88};
89 89
90struct sway_container *container_create(enum sway_container_type type);
91
90// TODO only one container create function and pass the type? 92// TODO only one container create function and pass the type?
91struct sway_container *container_output_create( 93struct sway_container *container_output_create(
92 struct sway_output *sway_output); 94 struct sway_output *sway_output);
diff --git a/include/sway/tree/layout.h b/include/sway/tree/layout.h
index 0a904c4b..79c14eda 100644
--- a/include/sway/tree/layout.h
+++ b/include/sway/tree/layout.h
@@ -54,4 +54,7 @@ void arrange_windows(struct sway_container *container,
54struct sway_container *container_get_in_direction(struct sway_container 54struct sway_container *container_get_in_direction(struct sway_container
55 *container, struct sway_seat *seat, enum movement_direction dir); 55 *container, struct sway_seat *seat, enum movement_direction dir);
56 56
57struct sway_container *container_split(struct sway_container *child,
58 enum sway_container_layout layout);
59
57#endif 60#endif