[hackers] [dwm] fixed issue reported by Christian Garbs

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Thu May 24 11:40:09 2007

changeset: 897:0a78c9e46e24
tag: tip
user: Anselm R. Garbe <arg_AT_suckless.org>
date: Thu May 24 11:35:32 2007 +0200
summary: fixed issue reported by Christian Garbs

diff -r 9fb6e8e6715b -r 0a78c9e46e24 event.c
--- a/event.c Wed May 23 22:33:46 2007 +0200
+++ b/event.c Thu May 24 11:35:32 2007 +0200
@@ -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();
         }
 }
Received on Thu May 24 2007 - 11:40:09 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:48 UTC