summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2013-11-11 12:51:15 +0000
committerokan <okan>2013-11-11 12:51:15 +0000
commitbda68b09244bc2130839e6a828158cf1a9f0839b (patch)
tree50c36a044b487721d94d598fc0c1f3d4e8abd747
parent3bb928a1c26c76d7e0a929ca3502c29170a83e53 (diff)
downloadcwm-bda68b09244bc2130839e6a828158cf1a9f0839b.tar.gz
cwm-bda68b09244bc2130839e6a828158cf1a9f0839b.tar.xz
cwm-bda68b09244bc2130839e6a828158cf1a9f0839b.zip
Put back the border draw call in client_resize; since we are adding and
removing the border on maximized clients we need to redraw.

Also noticed by Tim van der Molen
-rw-r--r--client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.c b/client.c
index f697cf2..1c559d4 100644
--- a/client.c
+++ b/client.c
@@ -401,6 +401,8 @@ client_resize(struct client_ctx *cc, int reset)
 		xu_ewmh_set_net_wm_state(cc);
 	}
 
+	client_draw_border(cc);
+
 	XMoveResizeWindow(X_Dpy, cc->win, cc->geom.x,
 	    cc->geom.y, cc->geom.w, cc->geom.h);
 	client_config(cc);