diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-04-19 08:53:40 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-04-19 08:53:40 +0200 |
commit | ad2508f9578195e703033df3cceb441f716261bd (patch) | |
tree | 75d4a8b666152fef593941bd8b36adc8b80bfa6e | |
parent | b0785998338eb49879da93ceca635ef5030a0cab (diff) | |
download | dwm-ad2508f9578195e703033df3cceb441f716261bd.tar.gz dwm-ad2508f9578195e703033df3cceb441f716261bd.tar.bz2 dwm-ad2508f9578195e703033df3cceb441f716261bd.zip |
touch border
-rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |