From 4c6d0b04105955e514d880418ca8d8cae9f873bb Mon Sep 17 00:00:00 2001 From: Okan Demirmen Date: Mon, 11 Nov 2013 12:51:16 +0000 Subject: 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 --- app/cwm/client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/cwm/client.c b/app/cwm/client.c index 1f2b2a4d9..9d448fdb4 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. * - * $OpenBSD: client.c,v 1.147 2013/11/08 17:35:12 okan Exp $ + * $OpenBSD: client.c,v 1.148 2013/11/11 12:51:15 okan Exp $ */ #include @@ -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); -- cgit v1.2.3