tag: move struct definition into tag.h

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-04-17 16:20:39 +02:00
parent de94a2cb12
commit 6fe35b1387
2 changed files with 15 additions and 15 deletions

View File

@ -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
{

15
tag.h
View File

@ -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 *);