aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2008-05-18 20:00:16 +0000
committerokan2008-05-18 20:00:16 +0000
commitded4ee413cda86bfa735b5b10100bc71fe23dd8b (patch)
treea3aeb9abbe13070af8ec81010d73a872b0ee0529
parent2c5038e0ace941e3aeaa38bc499a344c8e516654 (diff)
downloadcwm-ded4ee413cda86bfa735b5b10100bc71fe23dd8b.tar.gz
remove extra calls to client_draw_border()
ok oga@
Diffstat (limited to '')
-rw-r--r--client.c4
-rw-r--r--group.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/client.c b/client.c
index 06de90c..a67e787 100644
--- a/client.c
+++ b/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/group.c b/group.c
index bf4abac..dd190af 100644
--- a/group.c
+++ b/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