[all] Rename Layer to layer_t

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-04-10 11:52:03 +02:00
parent 80febe70a8
commit eb1a9bd69c
3 changed files with 6 additions and 6 deletions

View File

@ -293,7 +293,7 @@ client_stack(Client *c)
{
uint32_t config_win_vals[2];
Client *client;
Layer layer;
layer_t layer;
config_win_vals[0] = XCB_NONE;
config_win_vals[1] = XCB_STACK_MODE_ABOVE;
@ -631,7 +631,7 @@ client_resize(Client *c, area_t geometry, bool hints)
}
void
client_setfloating(Client *c, bool floating, Layer layer)
client_setfloating(Client *c, bool floating, layer_t layer)
{
if(c->isfloating != floating)
{

View File

@ -41,7 +41,7 @@ xcb_size_hints_t *client_updatesizehints(Client *);
void client_updatetitle(Client *);
void client_saveprops(Client *);
void client_kill(Client *);
void client_setfloating(Client *, bool, Layer);
void client_setfloating(Client *, bool, layer_t);
Uicb uicb_client_kill;
Uicb uicb_client_moveresize;

View File

@ -39,7 +39,7 @@ typedef enum
LAYER_FLOAT,
LAYER_ABOVE,
LAYER_FULLSCREEN
} Layer;
} layer_t;
/** Cursors */
enum
@ -225,8 +225,8 @@ struct Client
/** Titlebar */
Titlebar titlebar;
/** layer in the stacking order */
Layer layer;
Layer oldlayer;
layer_t layer;
layer_t oldlayer;
};
typedef struct client_node_t client_node_t;