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:
32563ab
)
fixed issue reported by Christian Garbs
author
Anselm R. Garbe
<arg@suckless.org>
Thu, 24 May 2007 09:35:32 +0000
(11:35 +0200)
committer
Anselm R. Garbe
<arg@suckless.org>
Thu, 24 May 2007 09:35:32 +0000
(11:35 +0200)
event.c
patch
|
blob
|
history
diff --git
a/event.c
b/event.c
index 4c0e4e77fb7476d7a4615a7c6aa89188e5ecd962..2773c6f3243669e0394596d369f58dba63de2d36 100644
(file)
--- a/
event.c
+++ b/
event.c
@@
-218,11
+218,10
@@
configurenotify(XEvent *e) {
if (ev->window == root && (ev->width != sw || ev->height != sh)) {
sw = ev->width;
sh = ev->height;
- wah = sh - bh;
- waw = sw;
XFreePixmap(dpy, dc.drawable);
dc.drawable = XCreatePixmap(dpy, root, sw, bh, DefaultDepth(dpy, screen));
XResizeWindow(dpy, barwin, sw, bh);
+ updatebarpos();
lt->arrange();
}
}