From beabb12d63437557da8a2e254a1e0250da448aa6 Mon Sep 17 00:00:00 2001 From: Taiyu Date: Mon, 10 Aug 2015 17:32:50 -0700 Subject: destroys empty workspace + minor bugfixes --- sway/layout.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sway/layout.h') 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 -- cgit v1.2.3