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:
234b12e
)
take bar into account
author
Anselm R Garbe
<garbeam@gmail.com>
Mon, 19 May 2008 16:27:30 +0000
(17:27 +0100)
committer
Anselm R Garbe
<garbeam@gmail.com>
Mon, 19 May 2008 16:27:30 +0000
(17:27 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index 37df864d77e9e86c8c10669dc0a43f0049540b2b..16e04b0256d5b777a29a87a53db809ec2259e80e 100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-963,7
+963,7
@@
manage(Window w, XWindowAttributes *wa) {
if(c->y + c->h + 2 * c->bw > sy + sh)
c->y = sy + sh - c->h - 2 * c->bw;
c->x = MAX(c->x, sx);
- c->y = MAX(c->y, sy);
+ c->y = MAX(c->y,
by == 0 ? bh :
sy);
c->bw = borderpx;
}