mirror of
https://github.com/swaywm/sway.git
synced 2025-12-15 08:56:30 -05:00
Merge branch 'master' of https://github.com/SirCmpwn/sway
This commit is contained in:
commit
5a9ba261bc
26 changed files with 1493 additions and 570 deletions
|
|
@ -4,12 +4,14 @@
|
|||
#include <wlc/wlc.h>
|
||||
#include "list.h"
|
||||
#include "container.h"
|
||||
#include "focus.h"
|
||||
|
||||
extern swayc_t root_container;
|
||||
|
||||
void init_layout(void);
|
||||
|
||||
void add_child(swayc_t *parent, swayc_t *child);
|
||||
void add_floating(swayc_t *ws, swayc_t *child);
|
||||
// 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);
|
||||
|
|
@ -28,5 +30,6 @@ void focus_view_for(swayc_t *ancestor, swayc_t *container);
|
|||
|
||||
swayc_t *get_focused_container(swayc_t *parent);
|
||||
swayc_t *get_swayc_for_handle(wlc_handle handle, swayc_t *parent);
|
||||
swayc_t *get_swayc_in_direction(swayc_t *container, enum movement_direction dir);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue