summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-05-24 11:35:32 +0200
committerAnselm R. Garbe <arg@suckless.org>2007-05-24 11:35:32 +0200
commit5a9af492ae9fc6d28dc80bf3599d7eebda9136dd (patch)
tree799058f321f8f9937aa5a68b6db877f7d27ddf66 /event.c
parentremoved the only one and superfloues strncmp (diff)
downloaddwm-5a9af492ae9fc6d28dc80bf3599d7eebda9136dd.tar.gz
dwm-5a9af492ae9fc6d28dc80bf3599d7eebda9136dd.zip
fixed issue reported by Christian Garbs
Diffstat (limited to 'event.c')
-rw-r--r--event.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/event.c b/event.c
index 4c0e4e7..2773c6f 100644
--- a/event.c
+++ b/event.c
@@ -218,11 +218,10 @@ configurenotify(XEvent *e) {
218 if (ev->window == root && (ev->width != sw || ev->height != sh)) { 218 if (ev->window == root && (ev->width != sw || ev->height != sh)) {
219 sw = ev->width; 219 sw = ev->width;
220 sh = ev->height; 220 sh = ev->height;
221 wah = sh - bh;
222 waw = sw;
223 XFreePixmap(dpy, dc.drawable); 221 XFreePixmap(dpy, dc.drawable);
224 dc.drawable = XCreatePixmap(dpy, root, sw, bh, DefaultDepth(dpy, screen)); 222 dc.drawable = XCreatePixmap(dpy, root, sw, bh, DefaultDepth(dpy, screen));
225 XResizeWindow(dpy, barwin, sw, bh); 223 XResizeWindow(dpy, barwin, sw, bh);
224 updatebarpos();
226 lt->arrange(); 225 lt->arrange();
227 } 226 }
228} 227}