pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a692bdc
)
removed unneeded offset recalculation, thanks Jukka, let's see if this breaks some...
author
garbeam@gmail.com
<unknown>
Sun, 10 Jul 2011 20:18:50 +0000
(21:18 +0100)
committer
garbeam@gmail.com
<unknown>
Sun, 10 Jul 2011 20:18:50 +0000
(21:18 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
ba00afe
..
a0ab126
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1112,8
+1112,8
@@
manage(Window w, XWindowAttributes *wa) {
applyrules(c);
}
/* geometry */
- c->x = c->oldx = wa->x
+ c->mon->wx
;
- c->y = c->oldy = wa->y
+ c->mon->wy
;
+ c->x = c->oldx = wa->x;
+ c->y = c->oldy = wa->y;
c->w = c->oldw = wa->width;
c->h = c->oldh = wa->height;
c->oldbw = wa->border_width;