From 2a62c5c7fb71fc815663281793ba6a89d2b246ed Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Thu, 20 Aug 2015 21:27:38 +0100 Subject: Basic left right move command implemented. --- include/layout.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/layout.h') 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); swayc_t *replace_child(swayc_t *child, swayc_t *new_child); swayc_t *remove_child(swayc_t *child); +void move_container(swayc_t* container,swayc_t* root,int direction); + + // Layout void arrange_windows(swayc_t *container, int width, int height); -- cgit v1.2.3 From 713bf29ec901b711d782e96721898c32fcd5d56e Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Thu, 20 Aug 2015 21:45:00 +0100 Subject: Few stray bits --- include/layout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/layout.h') diff --git a/include/layout.h b/include/layout.h index c1d7d8b4..5c73af99 100644 --- a/include/layout.h +++ b/include/layout.h @@ -17,7 +17,7 @@ swayc_t *add_sibling(swayc_t *sibling, swayc_t *child); swayc_t *replace_child(swayc_t *child, swayc_t *new_child); swayc_t *remove_child(swayc_t *child); -void move_container(swayc_t* container,swayc_t* root,int direction); +void move_container(swayc_t* container,swayc_t* root,enum movement_direction direction); // Layout -- cgit v1.2.3