[CONTACT]

[ABOUT]

[POLICY]

git clone dmenu dmenu Log gph

Found at: gopher.r-36.net:70/scm/dmenu/commit/4776d6dc6148498a1eab11dd3a15c03736f15d42.gph

tmatch first - dmenu - Dmenu fork with xft fonts.

git clone git://r-36.net/dmenu

Log

Files

Refs

README

LICENSE

---

commit 4776d6dc6148498a1eab11dd3a15c03736f15d42

parent d0051e7bb858815866fbaf3a8fd5b50319c0c86d

Author: Connor Lane Smith

Date:   Sun, 15 May 2011 14:21:00 +0100
match first
Diffstat:
  dmenu.c                             |       9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---

diff --git a/dmenu.c b/dmenu.c

t@@ -530,6 +530,10 @@ setup(void) {
                 y = topbar ? 0 : DisplayHeight(dc->dpy, screen) - mh;
                 mw = DisplayWidth(dc->dpy, screen);
         }
+        inputw = MIN(inputw, mw/3);
+        promptw = prompt ? textw(dc, prompt) : 0;
+        match();
+
         /* menu window */
         wa.override_redirect = True;
         wa.background_pixmap = ParentRelative;
t@@ -539,10 +543,7 @@ setup(void) {
                             DefaultVisual(dc->dpy, screen),
                             CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa);
-        resizedc(dc, mw, mh);
-        inputw = MIN(inputw, mw/3);
-        promptw = prompt ? textw(dc, prompt) : 0;
         XMapRaised(dc->dpy, win);
+        resizedc(dc, mw, mh);
         drawmenu();
-        match();
 }
.


AD: