[wiki] [sites] update dmenu-git-xft patch || Brandon Mulcahy

From: <git_AT_suckless.org>
Date: Sat, 04 Oct 2014 22:53:55 +0200

commit ce9dd55cbebda7819c85af8023152ee7dabf38bb
Author: Brandon Mulcahy <brandon_AT_jangler.info>
Date: Sat Oct 4 16:53:52 2014 -0400

    update dmenu-git-xft patch

diff --git a/tools.suckless.org/dmenu/patches/dmenu-git-xft.diff b/tools.suckless.org/dmenu/patches/dmenu-git-xft.diff
index 23a8a83..4d19a5c 100644
--- a/tools.suckless.org/dmenu/patches/dmenu-git-xft.diff
+++ b/tools.suckless.org/dmenu/patches/dmenu-git-xft.diff
_AT_@ -1,17 +1,3 @@
-From ef0b72fc2725cdfcb731837bf411fe343abe33e7 Mon Sep 17 00:00:00 2001
-From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
-Date: Thu, 27 Mar 2014 15:02:33 +0100
-Subject: [PATCH] xft: adjust xft patch against current git version
-
-Signed-off-by: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
----
- config.mk |   8 +++--
- dmenu.1   |   2 +-
- dmenu.c   |  56 ++++++++++++++++++++------------
- draw.c    | 110 +++++++++++++++++++++++++++++++++++++++++---------------------
- draw.h    |  19 +++++++----
- 5 files changed, 129 insertions(+), 66 deletions(-)
-
 diff --git a/config.mk b/config.mk
 index c0d466b..04e2dce 100644
 --- a/config.mk
_AT_@ -33,7 +19,7 @@ index c0d466b..04e2dce 100644
  # flags
  CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
 diff --git a/dmenu.1 b/dmenu.1
-index bbee17d..bc6bb1a 100644
+index 2897ab1..d06b484 100644
 --- a/dmenu.1
 +++ b/dmenu.1
 _AT_@ -58,7 +58,7 @@ dmenu is displayed on the monitor supplied.
_AT_@ -46,7 +32,7 @@ index bbee17d..bc6bb1a 100644
  .BI \-nb " color"
  defines the normal background color.
 diff --git a/dmenu.c b/dmenu.c
-index 8d9bbb6..463e022 100644
+index 94c70de..cc6dedf 100644
 --- a/dmenu.c
 +++ b/dmenu.c
 _AT_@ -17,6 +17,7 @@
_AT_@ -177,10 +163,10 @@ index 8d9bbb6..463e022 100644
 +			ret = EXIT_SUCCESS;
 +			running = False;
 +		}
- 		sel->out = True;
+ 		if(sel)
+ 			sel->out = True;
  		break;
- 	case XK_Right:
-_AT_@ -504,7 +527,7 @@ void
+_AT_@ -505,7 +528,7 @@ void
  run(void) {
  	XEvent ev;
  
_AT_@ -189,7 +175,7 @@ index 8d9bbb6..463e022 100644
  		if(XFilterEvent(&ev, win))
  			continue;
  		switch(ev.type) {
-_AT_@ -538,13 +561,6 @@ setup(void) {
+_AT_@ -539,13 +562,6 @@ setup(void) {
  	XineramaScreenInfo *info;
  #endif
  
_AT_@ -203,7 +189,7 @@ index 8d9bbb6..463e022 100644
  	clip = XInternAtom(dc->dpy, "CLIPBOARD",   False);
  	utf8 = XInternAtom(dc->dpy, "UTF8_STRING", False);
  
-_AT_@ -600,7 +616,7 @@ setup(void) {
+_AT_@ -601,7 +617,7 @@ setup(void) {
  
  	/* create menu window */
  	swa.override_redirect = True;
_AT_@ -462,6 +448,3 @@ index 43a57bf..1b4f21a 100644
  DC *initdc(void);
  void initfont(DC *dc, const char *fontstr);
  void mapdc(DC *dc, Window win, unsigned int w, unsigned int h);
--- 
-1.9.1
-
diff --git a/tools.suckless.org/dmenu/patches/xft.md b/tools.suckless.org/dmenu/patches/xft.md
index 86b12a1..f48e916 100644
--- a/tools.suckless.org/dmenu/patches/xft.md
+++ b/tools.suckless.org/dmenu/patches/xft.md
_AT_@ -17,7 +17,7 @@ For example, 28pt Sans:
 Download
 --------
 
-* [dmenu git](dmenu-git-xft.diff) applies cleanly against 5ed5e90bfb7760f24661281cf7156087afbe49d3
+* [dmenu git](dmenu-git-xft.diff) applies cleanly against 13a529ce63364544bdc851dfd5d3aa2ef8740914
 * [dmenu 4.5](dmenu-4.5-xft.diff)
 * [dmenu 4.5 for debian](dmenu-4.5-xft-debian.diff)
 * [dmenu 4.4.1](dmenu-4.4.1-xft.diff)
Received on Sat Oct 04 2014 - 22:53:55 CEST

This archive was generated by hypermail 2.3.0 : Thu Jun 18 2015 - 17:39:39 CEST