Fixed in 2.1

On Wed, Jan 17, 2007 at 09:05:24AM +0100, Pavel Samek wrote:
> Hi,
> 
> the -b switch has no effect in the new version of dmenu.
> 
> --- dmenu-2.0.orig/main.c     2007-01-16 11:42:11.000000000 +0100
> +++ dmenu-2.0/main.c  2007-01-17 08:57:38.000000000 +0100
> @@ -436,7 +436,7 @@
>       mh = dc.font.height + 2;
>       if(bottom)
>               my += DisplayHeight(dpy, screen) - mh;
> -     win = XCreateWindow(dpy, root, 0, 0, mw, mh, 0,
> +     win = XCreateWindow(dpy, root, 0, my, mw, mh, 0,
>                       DefaultDepth(dpy, screen), CopyFromParent,
>                       DefaultVisual(dpy, screen),
>                       CWOverrideRedirect | CWBackPixmap | CWEventMask,
> &wa);
> 
> Pavel.
> 
> 

-- 
 Anselm R. Garbe >< http://suckless.org/~arg/ >< GPG key: 0D73F361

Reply via email to