rename ban() and unban() to client_*()
This commit is contained in:
parent
f330cb303c
commit
c817b07d9a
|
@ -63,7 +63,7 @@ cleanup(awesome_config *awesomeconf)
|
||||||
|
|
||||||
while(*awesomeconf->clients)
|
while(*awesomeconf->clients)
|
||||||
{
|
{
|
||||||
unban(*awesomeconf->clients);
|
client_unban(*awesomeconf->clients);
|
||||||
client_unmanage(*awesomeconf->clients, NormalState, awesomeconf);
|
client_unmanage(*awesomeconf->clients, NormalState, awesomeconf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
4
client.c
4
client.c
|
@ -112,7 +112,7 @@ updatetitle(Client *c)
|
||||||
* \param c the client
|
* \param c the client
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
ban(Client * c)
|
client_ban(Client * c)
|
||||||
{
|
{
|
||||||
XUnmapWindow(c->display, c->win);
|
XUnmapWindow(c->display, c->win);
|
||||||
window_setstate(c->display, c->win, IconicState);
|
window_setstate(c->display, c->win, IconicState);
|
||||||
|
@ -477,7 +477,7 @@ saveprops(Client * c, int ntags)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
unban(Client *c)
|
client_unban(Client *c)
|
||||||
{
|
{
|
||||||
XMapWindow(c->display, c->win);
|
XMapWindow(c->display, c->win);
|
||||||
window_setstate(c->display, c->win, NormalState);
|
window_setstate(c->display, c->win, NormalState);
|
||||||
|
|
4
client.h
4
client.h
|
@ -28,11 +28,11 @@ Client * get_client_bywin(Client *, Window);
|
||||||
inline void client_attach(Client **, Client *);
|
inline void client_attach(Client **, Client *);
|
||||||
inline void client_detach(Client **, Client *);
|
inline void client_detach(Client **, Client *);
|
||||||
void client_reattach_after(Client *, Client *);
|
void client_reattach_after(Client *, Client *);
|
||||||
void ban(Client *);
|
void client_ban(Client *);
|
||||||
void focus(Client *, Bool, awesome_config *);
|
void focus(Client *, Bool, awesome_config *);
|
||||||
void client_manage(Window, XWindowAttributes *, awesome_config *);
|
void client_manage(Window, XWindowAttributes *, awesome_config *);
|
||||||
void client_resize(Client *, int, int, int, int, awesome_config *, Bool);
|
void client_resize(Client *, int, int, int, int, awesome_config *, Bool);
|
||||||
void unban(Client *);
|
void client_unban(Client *);
|
||||||
void client_unmanage(Client *, long, awesome_config *);
|
void client_unmanage(Client *, long, awesome_config *);
|
||||||
inline void updatesizehints(Client *);
|
inline void updatesizehints(Client *);
|
||||||
void updatetitle(Client *);
|
void updatetitle(Client *);
|
||||||
|
|
4
layout.c
4
layout.c
|
@ -58,10 +58,10 @@ arrange(awesome_config *awesomeconf)
|
||||||
for(c = *awesomeconf->clients; c; c = c->next)
|
for(c = *awesomeconf->clients; c; c = c->next)
|
||||||
{
|
{
|
||||||
if(isvisible(c, awesomeconf->screen, awesomeconf->tags, awesomeconf->ntags))
|
if(isvisible(c, awesomeconf->screen, awesomeconf->tags, awesomeconf->ntags))
|
||||||
unban(c);
|
client_unban(c);
|
||||||
/* we don't touch other screens windows */
|
/* we don't touch other screens windows */
|
||||||
else if(c->screen == awesomeconf->screen)
|
else if(c->screen == awesomeconf->screen)
|
||||||
ban(c);
|
client_ban(c);
|
||||||
}
|
}
|
||||||
if ((curtag = get_current_tag_number(awesomeconf->tags, awesomeconf->ntags)) >= 0)
|
if ((curtag = get_current_tag_number(awesomeconf->tags, awesomeconf->ntags)) >= 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue