Re: [dwm] dmenu 2.0 -b

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Wed, 17 Jan 2007 11:11:19 +0100

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
Received on Wed Jan 17 2007 - 11:11:19 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:35:06 UTC