aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Half-Shot <half-shot@molrams.com>2015-08-20 21:27:38 +0100
committerLibravatar Half-Shot <half-shot@molrams.com>2015-08-20 21:29:40 +0100
commit2a62c5c7fb71fc815663281793ba6a89d2b246ed (patch)
tree88928911011bf8c1726198a7cbed8e21bb140253 /include
parentMerge branch 'master' of https://github.com/SirCmpwn/sway (diff)
downloadsway-2a62c5c7fb71fc815663281793ba6a89d2b246ed.tar.gz
sway-2a62c5c7fb71fc815663281793ba6a89d2b246ed.tar.zst
sway-2a62c5c7fb71fc815663281793ba6a89d2b246ed.zip
Basic left right move command implemented.
Diffstat (limited to 'include')
-rw-r--r--include/container.h2
-rw-r--r--include/layout.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/include/container.h b/include/container.h
index 186ee8b6..63529e44 100644
--- a/include/container.h
+++ b/include/container.h
@@ -15,6 +15,7 @@ enum swayc_types{
15 C_TYPES, 15 C_TYPES,
16}; 16};
17 17
18
18enum swayc_layouts{ 19enum swayc_layouts{
19 L_NONE, 20 L_NONE,
20 L_HORIZ, 21 L_HORIZ,
@@ -75,6 +76,7 @@ swayc_t *destroy_view(swayc_t *view);
75swayc_t *find_container(swayc_t *container, bool (*test)(swayc_t *view, void *data), void *data); 76swayc_t *find_container(swayc_t *container, bool (*test)(swayc_t *view, void *data), void *data);
76void container_map(swayc_t *, void (*f)(swayc_t *, void *), void *); 77void container_map(swayc_t *, void (*f)(swayc_t *, void *), void *);
77 78
79
78// Mappings 80// Mappings
79void set_view_visibility(swayc_t *view, void *data); 81void set_view_visibility(swayc_t *view, void *data);
80 82
diff --git a/include/layout.h b/include/layout.h
index 282f92ee..79241698 100644
--- a/include/layout.h
+++ b/include/layout.h
@@ -15,6 +15,9 @@ swayc_t *add_sibling(swayc_t *sibling, swayc_t *child);
15swayc_t *replace_child(swayc_t *child, swayc_t *new_child); 15swayc_t *replace_child(swayc_t *child, swayc_t *new_child);
16swayc_t *remove_child(swayc_t *child); 16swayc_t *remove_child(swayc_t *child);
17 17
18void move_container(swayc_t* container,swayc_t* root,int direction);
19
20
18// Layout 21// Layout
19void arrange_windows(swayc_t *container, int width, int height); 22void arrange_windows(swayc_t *container, int width, int height);
20 23