From 288d3e0f5f00d896f730b8d7108ed32395ec36af Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 11 Nov 2013 12:51:15 +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 --- client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client.c b/client.c index 1f2b2a4..9d448fd 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. * - * $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-2-gb3c3