mirror of
https://github.com/swaywm/sway.git
synced 2025-11-11 13:29:51 -05:00
Merge pull request #105 from Half-Shot/master
Basic 'move' functionality.
This commit is contained in:
commit
a436fc17ff
4 changed files with 72 additions and 1 deletions
|
|
@ -15,6 +15,7 @@ enum swayc_types{
|
|||
C_TYPES,
|
||||
};
|
||||
|
||||
|
||||
enum swayc_layouts{
|
||||
L_NONE,
|
||||
L_HORIZ,
|
||||
|
|
@ -86,6 +87,7 @@ swayc_t *swayc_parent_by_layout(swayc_t *container, enum swayc_layouts);
|
|||
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);
|
||||
void reset_gaps(swayc_t *view, void *data);
|
||||
|
|
|
|||
|
|
@ -17,6 +17,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,enum movement_direction direction);
|
||||
|
||||
|
||||
// Layout
|
||||
void arrange_windows(swayc_t *container, double width, double height);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue