From ad2508f9578195e703033df3cceb441f716261bd Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Thu, 19 Apr 2007 08:53:40 +0200 Subject: touch border --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index e9ea4c7..e267b63 100644 --- a/client.c +++ b/client.c @@ -203,7 +203,7 @@ manage(Window w, XWindowAttributes *wa) { XSelectInput(dpy, w, StructureNotifyMask | PropertyChangeMask | EnterWindowMask); grabbuttons(c, False); - c->border = wc.border_width = BORDERPX; + c->border = wc.border_width = (c->w == sw && c->h == sh) ? wa->border_width : BORDERPX; XConfigureWindow(dpy, w, CWBorderWidth, &wc); XSetWindowBorder(dpy, w, dc.norm[ColBorder]); configure(c); /* propagates border_width, if size doesn't change */ -- cgit v1.2.3-70-g09d2