mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
remove useless isbanned attribute on Client
This commit is contained in:
parent
7a921fbc5e
commit
03681846fa
2 changed files with 1 additions and 4 deletions
3
client.c
3
client.c
|
@ -243,7 +243,6 @@ ban(Client * c)
|
|||
{
|
||||
XUnmapWindow(c->display, c->win);
|
||||
window_setstate(c->display, c->win, IconicState);
|
||||
c->isbanned = True;
|
||||
c->unmapped = True;
|
||||
}
|
||||
|
||||
|
@ -469,7 +468,6 @@ manage(Display *disp, Window w, XWindowAttributes *wa, awesome_config *awesomeco
|
|||
saveprops(c, awesomeconf->ntags);
|
||||
client_attach(awesomeconf->clients, c);
|
||||
XMoveResizeWindow(disp, c->win, c->x, c->y, c->w, c->h); /* some windows require this */
|
||||
c->isbanned = True;
|
||||
arrange(awesomeconf);
|
||||
}
|
||||
|
||||
|
@ -579,7 +577,6 @@ unban(Client *c)
|
|||
{
|
||||
XMapWindow(c->display, c->win);
|
||||
window_setstate(c->display, c->win, NormalState);
|
||||
c->isbanned = False;
|
||||
c->unmapped = False;
|
||||
}
|
||||
|
||||
|
|
2
config.h
2
config.h
|
@ -108,7 +108,7 @@ struct Client
|
|||
Bool unmapped;
|
||||
long flags;
|
||||
int border, oldborder;
|
||||
Bool isbanned, isfixed, ismax, isfloating, wasfloating;
|
||||
Bool isfixed, ismax, isfloating, wasfloating;
|
||||
/** Tags for the client */
|
||||
Bool *tags;
|
||||
/** Next client */
|
||||
|
|
Loading…
Reference in a new issue