projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b078599
)
touch border
author
Anselm R. Garbe
<arg@suckless.org>
Thu, 19 Apr 2007 06:53:40 +0000
(08:53 +0200)
committer
Anselm R. Garbe
<arg@suckless.org>
Thu, 19 Apr 2007 06:53:40 +0000
(08:53 +0200)
client.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index e9ea4c7cd1eb9b9afae28a1487b335502e12a921..e267b631606dd64b4b980ebddb46da45a9422d3f 100644
(file)
--- 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 */