remove useless isbanned attribute on Client

This commit is contained in:
Julien Danjou 2007-10-19 15:42:48 +02:00
parent 7a921fbc5e
commit 03681846fa
2 changed files with 1 additions and 4 deletions

View file

@ -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;
}

View file

@ -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 */