set inline in header file
This commit is contained in:
parent
f1ef5c2ddd
commit
2ea22c721c
4
client.c
4
client.c
|
@ -218,7 +218,7 @@ client_swap(Client *c1, Client *c2)
|
||||||
/** Attach client to the beginning of the clients stack
|
/** Attach client to the beginning of the clients stack
|
||||||
* \param c the client
|
* \param c the client
|
||||||
*/
|
*/
|
||||||
inline void
|
void
|
||||||
attach(Client * c)
|
attach(Client * c)
|
||||||
{
|
{
|
||||||
if(clients)
|
if(clients)
|
||||||
|
@ -227,7 +227,7 @@ attach(Client * c)
|
||||||
clients = c;
|
clients = c;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void
|
void
|
||||||
updatetitle(Client * c)
|
updatetitle(Client * c)
|
||||||
{
|
{
|
||||||
if(!xgettextprop(c->display, c->win, XInternAtom(c->display, "_NET_WM_NAME", False), c->name, sizeof c->name))
|
if(!xgettextprop(c->display, c->win, XInternAtom(c->display, "_NET_WM_NAME", False), c->name, sizeof c->name))
|
||||||
|
|
4
client.h
4
client.h
|
@ -62,7 +62,7 @@ struct Client
|
||||||
Bool ftview;
|
Bool ftview;
|
||||||
};
|
};
|
||||||
|
|
||||||
void attach(Client *); /* attaches c to global client list */
|
inline void attach(Client *); /* attaches c to global client list */
|
||||||
void ban(Client *); /* bans c */
|
void ban(Client *); /* bans c */
|
||||||
void configure(Client *); /* send synthetic configure event */
|
void configure(Client *); /* send synthetic configure event */
|
||||||
void detach(Client *); /* detaches c from global client list */
|
void detach(Client *); /* detaches c from global client list */
|
||||||
|
@ -71,7 +71,7 @@ void manage(Display *, DC *, Window, XWindowAttributes *, awesome_config *);
|
||||||
void resize(Client *, int, int, int, int, awesome_config *, Bool); /* resize with given coordinates c */
|
void resize(Client *, int, int, int, int, awesome_config *, Bool); /* resize with given coordinates c */
|
||||||
void unban(Client *); /* unbans c */
|
void unban(Client *); /* unbans c */
|
||||||
void unmanage(Client *, DC *, long, awesome_config *); /* unmanage c */
|
void unmanage(Client *, DC *, long, awesome_config *); /* unmanage c */
|
||||||
void updatesizehints(Client *); /* update the size hint variables of c */
|
inline void updatesizehints(Client *); /* update the size hint variables of c */
|
||||||
void updatetitle(Client *); /* update the name of c */
|
void updatetitle(Client *); /* update the name of c */
|
||||||
void saveprops(Client * c, int); /* saves client properties */
|
void saveprops(Client * c, int); /* saves client properties */
|
||||||
void set_shape(Client *);
|
void set_shape(Client *);
|
||||||
|
|
Loading…
Reference in New Issue