diff --git a/client.c b/client.c index bf25b05f6..c2bb5e7cc 100644 --- a/client.c +++ b/client.c @@ -218,7 +218,7 @@ client_swap(Client *c1, Client *c2) /** Attach client to the beginning of the clients stack * \param c the client */ -inline void +void attach(Client * c) { if(clients) @@ -227,7 +227,7 @@ attach(Client * c) clients = c; } -inline void +void updatetitle(Client * c) { if(!xgettextprop(c->display, c->win, XInternAtom(c->display, "_NET_WM_NAME", False), c->name, sizeof c->name)) diff --git a/client.h b/client.h index 679daeae8..c20debd9e 100644 --- a/client.h +++ b/client.h @@ -62,7 +62,7 @@ struct Client 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 configure(Client *); /* send synthetic configure event */ 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 unban(Client *); /* unbans 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 saveprops(Client * c, int); /* saves client properties */ void set_shape(Client *);