Basic left right move command implemented.

This commit is contained in:
Half-Shot 2015-08-20 21:27:38 +01:00
parent f314d95103
commit 2a62c5c7fb
4 changed files with 71 additions and 4 deletions

View file

@ -15,6 +15,7 @@ enum swayc_types{
C_TYPES,
};
enum swayc_layouts{
L_NONE,
L_HORIZ,
@ -75,6 +76,7 @@ swayc_t *destroy_view(swayc_t *view);
swayc_t *find_container(swayc_t *container, bool (*test)(swayc_t *view, void *data), void *data);
void container_map(swayc_t *, void (*f)(swayc_t *, void *), void *);
// Mappings
void set_view_visibility(swayc_t *view, void *data);

View file

@ -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);