From 03681846fafe5ba0009f326ae88ee92544aca99c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 19 Oct 2007 15:42:48 +0200 Subject: [PATCH] remove useless isbanned attribute on Client --- client.c | 3 --- config.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/client.c b/client.c index 1baeadec..a098644b 100644 --- a/client.c +++ b/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; } diff --git a/config.h b/config.h index bdbab6e8..ee4a3da0 100644 --- a/config.h +++ b/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 */