Browse Source

fixed issue reported by Christian Garbs

main
Anselm R. Garbe 17 years ago
parent
commit
5a9af492ae
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      event.c

+ 1
- 2
event.c View File

@ -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();
}
}


Loading…
Cancel
Save