[all] Rename Layer to layer_t
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
80febe70a8
commit
eb1a9bd69c
4
client.c
4
client.c
|
@ -293,7 +293,7 @@ client_stack(Client *c)
|
||||||
{
|
{
|
||||||
uint32_t config_win_vals[2];
|
uint32_t config_win_vals[2];
|
||||||
Client *client;
|
Client *client;
|
||||||
Layer layer;
|
layer_t layer;
|
||||||
|
|
||||||
config_win_vals[0] = XCB_NONE;
|
config_win_vals[0] = XCB_NONE;
|
||||||
config_win_vals[1] = XCB_STACK_MODE_ABOVE;
|
config_win_vals[1] = XCB_STACK_MODE_ABOVE;
|
||||||
|
@ -631,7 +631,7 @@ client_resize(Client *c, area_t geometry, bool hints)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
client_setfloating(Client *c, bool floating, Layer layer)
|
client_setfloating(Client *c, bool floating, layer_t layer)
|
||||||
{
|
{
|
||||||
if(c->isfloating != floating)
|
if(c->isfloating != floating)
|
||||||
{
|
{
|
||||||
|
|
2
client.h
2
client.h
|
@ -41,7 +41,7 @@ xcb_size_hints_t *client_updatesizehints(Client *);
|
||||||
void client_updatetitle(Client *);
|
void client_updatetitle(Client *);
|
||||||
void client_saveprops(Client *);
|
void client_saveprops(Client *);
|
||||||
void client_kill(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_kill;
|
||||||
Uicb uicb_client_moveresize;
|
Uicb uicb_client_moveresize;
|
||||||
|
|
|
@ -39,7 +39,7 @@ typedef enum
|
||||||
LAYER_FLOAT,
|
LAYER_FLOAT,
|
||||||
LAYER_ABOVE,
|
LAYER_ABOVE,
|
||||||
LAYER_FULLSCREEN
|
LAYER_FULLSCREEN
|
||||||
} Layer;
|
} layer_t;
|
||||||
|
|
||||||
/** Cursors */
|
/** Cursors */
|
||||||
enum
|
enum
|
||||||
|
@ -225,8 +225,8 @@ struct Client
|
||||||
/** Titlebar */
|
/** Titlebar */
|
||||||
Titlebar titlebar;
|
Titlebar titlebar;
|
||||||
/** layer in the stacking order */
|
/** layer in the stacking order */
|
||||||
Layer layer;
|
layer_t layer;
|
||||||
Layer oldlayer;
|
layer_t oldlayer;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct client_node_t client_node_t;
|
typedef struct client_node_t client_node_t;
|
||||||
|
|
Loading…
Reference in New Issue