[dwm] dmenu 2.0 -b

From: Pavel Samek <psamek_AT_redash.cz>
Date: Wed, 17 Jan 2007 09:05:24 +0100 (CET)

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.
Received on Wed Jan 17 2007 - 09:05:23 UTC

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