Bugfix: Correctly check for empty containers and unmap the stack_win

This commit is contained in:
Michael Stapelberg
2009-03-06 19:08:59 +01:00
parent 017a0c0d08
commit a411ed24cb
4 changed files with 20 additions and 10 deletions

View File

@ -34,6 +34,7 @@ void *scalloc(size_t size);
char *sstrdup(const char *str);
void start_application(const char *command);
void check_error(xcb_connection_t *conn, xcb_void_cookie_t cookie, char *err_message);
void remove_client_from_container(xcb_connection_t *conn, Client *client, Container *container);
void set_focus(xcb_connection_t *conn, Client *client);
void leave_stack_mode(xcb_connection_t *conn, Container *container);
void switch_layout_mode(xcb_connection_t *conn, Container *container, int mode);