mirror of
https://github.com/swaywm/sway.git
synced 2025-12-15 08:56:30 -05:00
Coding style enforcement
This was done by hand, so I might have missed things. If anyone knows of a good C style enforcement tool, let me know.
This commit is contained in:
parent
af1b3d9755
commit
2139001c9f
11 changed files with 119 additions and 136 deletions
|
|
@ -10,15 +10,15 @@ extern swayc_t root_container;
|
|||
void init_layout(void);
|
||||
|
||||
void add_child(swayc_t *parent, swayc_t *child);
|
||||
//Returns parent container which needs to be rearranged.
|
||||
// Returns parent container which needs to be rearranged.
|
||||
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);
|
||||
|
||||
//Layout
|
||||
// Layout
|
||||
void arrange_windows(swayc_t *container, int width, int height);
|
||||
|
||||
//Focus
|
||||
// Focus
|
||||
void unfocus_all(swayc_t *container);
|
||||
void focus_view(swayc_t *view);
|
||||
void focus_view_for(swayc_t *ancestor, swayc_t *container);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue