commit 0b6b5531f16545d2d98b0cbb29e3d6abc6ba3457
parent 70629ae669d4699715cdf2f6a95aa311d803add5
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 18 Jun 2016 18:27:32 +0200
dmenu: fix screenshot for line-height patch...
also remove crap patch "hide single newline", just use printf '' | dmenu, the
patch didn't work anyway, realloc(items, 0) is free().
Diffstat:
3 files changed, 0 insertions(+), 31 deletions(-)
diff --git a/tools.suckless.org/dmenu/patches/dmenu-default-height.png b/tools.suckless.org/dmenu/patches/dmenu-default-height.png
Binary files differ.
diff --git a/tools.suckless.org/dmenu/patches/dmenu-git-20160111-hide-single-newline.diff b/tools.suckless.org/dmenu/patches/dmenu-git-20160111-hide-single-newline.diff
@@ -1,12 +0,0 @@
-diff --git a/dmenu.c b/dmenu.c
-index e0c2f80..ef25442 100644
---- a/dmenu.c
-+++ b/dmenu.c
-@@ -487,6 +487,7 @@ readstdin(void)
- }
- if (items)
- items[i].text = NULL;
-+ if (i == 1 && items[0].text[0] == '\0') items = realloc(items, 0);
- inputw = maxstr ? TEXTW(maxstr) : 0;
- lines = MIN(lines, i);
- }
diff --git a/tools.suckless.org/dmenu/patches/hide-single-newline.md b/tools.suckless.org/dmenu/patches/hide-single-newline.md
@@ -1,19 +0,0 @@
-Hide single newline
-===================
-
-Description
------------
-
-When you pass the single newline (for example, using `echo | dmenu`) dmenu displays one empty menu item. You can see this effect in surf with "go to url" and "find in page" menus. This patch hides this sad, lonely item.
-
-Download
---------
-
-* [dmenu-4.5-hide-single-newline.diff](dmenu-4.5-hide-single-newline.diff) (0.1k) (18 Sep 2015)
-* [dmenu-git-20160111-hide-single-newline.diff](dmenu-git-20160111-hide-single-newline.diff)
-
-Authors
--------
-
-* Danil Semelenov - `<mail at danil dot mobi>`
-* Klemens Nanni <[kl3@posteo.org](mailto:kl3@posteo.org)> (20160111 version)