aboutsummaryrefslogtreecommitdiff
path: root/sway/layout.h
diff options
context:
space:
mode:
authorTaiyu <taiyu.len@gmail.com>2015-08-10 17:32:50 -0700
committerTaiyu <taiyu.len@gmail.com>2015-08-10 17:32:50 -0700
commitbeabb12d63437557da8a2e254a1e0250da448aa6 (patch)
treef3a0817c74125550a8442aae6cdf2e81e793d3e9 /sway/layout.h
parent4aeaaa8abc35ff6ce9746802169918d33e7b8e61 (diff)
destroys empty workspace + minor bugfixes
Diffstat (limited to 'sway/layout.h')
-rw-r--r--sway/layout.h3
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