diff --git a/structs.h b/structs.h index 7a6a64fba..a66a93639 100644 --- a/structs.h +++ b/structs.h @@ -53,21 +53,6 @@ ARRAY_TYPE(tag_t *, tag) ARRAY_TYPE(screen_t, screen) ARRAY_TYPE(client_t *, client) -/** Tag type */ -struct tag -{ - /** Lua references count */ - luaA_ref_array_t refs; - /** Tag name */ - char *name; - /** Screen */ - screen_t *screen; - /** true if selected */ - bool selected; - /** clients in this tag */ - client_array_t clients; -}; - /** Main configuration structure */ struct awesome_t { diff --git a/tag.h b/tag.h index 86864809e..32fc53902 100644 --- a/tag.h +++ b/tag.h @@ -25,6 +25,21 @@ #include "structs.h" #include "client.h" +/** Tag type */ +struct tag +{ + /** Lua references count */ + luaA_ref_array_t refs; + /** Tag name */ + char *name; + /** Screen */ + screen_t *screen; + /** true if selected */ + bool selected; + /** clients in this tag */ + client_array_t clients; +}; + tag_t **tags_get_current(screen_t *); void tag_client(client_t *); void untag_client(client_t *, tag_t *);