diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2008-05-18 20:00:17 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2008-05-18 20:00:17 +0000 |
commit | 08737d2276a59600805b37a0597e9014a90099c1 (patch) | |
tree | 3cafb4d6a81153d40f542bc5d7f7cabb0eb1dc10 | |
parent | 8a3870059ea3eeb53266bbff4b95bf37dd8841c3 (diff) |
remove extra calls to client_draw_border()
ok oga@
-rw-r--r-- | app/cwm/client.c | 4 | ||||
-rw-r--r-- | app/cwm/group.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/app/cwm/client.c b/app/cwm/client.c index 06de90c37..a67e78722 100644 --- a/app/cwm/client.c +++ b/app/cwm/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: client.c,v 1.22 2008/05/17 03:59:54 okan Exp $ + * $Id: client.c,v 1.23 2008/05/18 20:00:16 okan Exp $ */ #include "headers.h" @@ -365,7 +365,6 @@ client_resize(struct client_ctx *cc) XMoveResizeWindow(X_Dpy, cc->win, cc->bwidth, cc->bwidth, cc->geom.width, cc->geom.height); xev_reconfig(cc); - client_draw_border(cc); } void @@ -386,7 +385,6 @@ void client_raise(struct client_ctx *cc) { XRaiseWindow(X_Dpy, cc->pwin); - client_draw_border(cc); } void diff --git a/app/cwm/group.c b/app/cwm/group.c index bf4abac1d..dd190afef 100644 --- a/app/cwm/group.c +++ b/app/cwm/group.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: group.c,v 1.13 2008/05/18 19:38:18 oga Exp $ + * $Id: group.c,v 1.14 2008/05/18 20:00:16 okan Exp $ */ #include "headers.h" @@ -53,8 +53,6 @@ _group_remove(struct client_ctx *cc) TAILQ_REMOVE(&cc->group->clients, cc, group_entry); cc->group = NULL; - cc->highlight = 0; - client_draw_border(cc); } static void |