added "move container to workspace", changed scratchpad

still WIP, latter is not really working
This commit is contained in:
minus 2015-08-23 00:23:51 +02:00
parent 2f7269a3f1
commit 60b3b87edd
4 changed files with 55 additions and 38 deletions

View file

@ -11,6 +11,8 @@ extern swayc_t root_container;
extern int min_sane_w;
extern int min_sane_h;
extern swayc_t *scratchpad;
void init_layout(void);
void add_child(swayc_t *parent, swayc_t *child);
@ -20,7 +22,8 @@ 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,enum movement_direction direction);
void move_container_to_direction(swayc_t* container,swayc_t* root,enum movement_direction direction);
void move_container_to(swayc_t* container, swayc_t* destination);
// Layout
void arrange_windows(swayc_t *container, double width, double height);
@ -32,9 +35,4 @@ void recursive_resize(swayc_t *container, double amount, enum wlc_resize_edge ed
void view_set_floating(swayc_t *view, bool floating);
// Scratchpad
void scratchpad_push(swayc_t *view);
swayc_t *scratchpad_pop(void);
#endif