diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-10 23:26:04 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-10 23:26:04 -0400 |
commit | e62e294366e634dbd584ea8fd2a9ed93aa81e356 (patch) | |
tree | 41a39c63ff375b81272bcfcec7719e510359d858 /sway/layout.h | |
parent | 4aeaaa8abc35ff6ce9746802169918d33e7b8e61 (diff) | |
parent | 25a3aa6ed675c70a7cb83aca0ec5eccae23e42fa (diff) |
Merge pull request #15 from taiyu-len/master
destroys empty workspace + minor fixes
Diffstat (limited to 'sway/layout.h')
-rw-r--r-- | sway/layout.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/layout.h b/sway/layout.h index 8cafe0d2..b4769e08 100644 --- a/sway/layout.h +++ b/sway/layout.h @@ -45,7 +45,7 @@ typedef struct sway_container swayc_t; extern swayc_t root_container; -void init_layout(); +void init_layout(void); void add_child(swayc_t *parent, swayc_t *child); void add_output(wlc_handle output); void destroy_output(wlc_handle output); @@ -58,6 +58,7 @@ swayc_t *find_container(swayc_t *container, bool (*test)(swayc_t *view, void *da swayc_t *get_focused_container(swayc_t *parent); int remove_container_from_parent(swayc_t *parent, swayc_t *container); swayc_t *create_container(swayc_t *parent, wlc_handle handle); +void free_swayc(swayc_t *container); swayc_t *get_swayc_for_handle(wlc_handle handle, swayc_t *parent); #endif |