mirror of
https://github.com/swaywm/sway.git
synced 2026-04-28 06:46:26 -04:00
added "move container to workspace", changed scratchpad
still WIP, latter is not really working
This commit is contained in:
parent
2f7269a3f1
commit
60b3b87edd
4 changed files with 55 additions and 38 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue