[wiki] [sites] [dmenu][noXoffset] new patch || clamiax

From: <git_AT_suckless.org>
Date: Sat, 07 Nov 2015 13:58:45 +0100

commit d9ccbf11c91f21b41ee6a6be9df84188f9c73399
Author: clamiax <smoppy_AT_gmail.com>
Date: Sat Nov 7 13:58:42 2015 +0100

    [dmenu][noXoffset] new patch

diff --git a/tools.suckless.org/dmenu/patches/dmenu-4.5-noXoffset.diff b/tools.suckless.org/dmenu/patches/dmenu-4.5-noXoffset.diff
new file mode 100644
index 0000000..7daad2a
--- /dev/null
+++ b/tools.suckless.org/dmenu/patches/dmenu-4.5-noXoffset.diff
_AT_@ -0,0 +1,11 @@
+diff -wu a/dmenu.c b/dmenu.c
+--- a/dmenu.c 2012-01-08 13:18:43.000000000 +0100
++++ b/dmenu.c 2015-11-07 13:51:23.377180944 +0100
+_AT_@ -182,6 +182,7 @@
+
+ if(lines > 0) {
+ /* draw vertical list */
++ dc->x = 0;
+ dc->w = mw - dc->x;
+ for(item = curr; item != next; item = item->right) {
+ dc->y += dc->h;
diff --git a/tools.suckless.org/dmenu/patches/noXoffset.md b/tools.suckless.org/dmenu/patches/noXoffset.md
new file mode 100644
index 0000000..410bf2c
--- /dev/null
+++ b/tools.suckless.org/dmenu/patches/noXoffset.md
_AT_@ -0,0 +1,12 @@
+noXoffset
+=========
+Remove the left offset when both -p and -l are specified. In other words, items
+are always aligned to the left.
+
+Download
+--------
+* [dmenu-4.5-noXoffset.diff](dmenu-4.5-noXoffset.diff)
+
+Author
+------
+* Claudio Alessi <[smoppy_AT_gmail.com](mailto:smoppy_AT_gmail.com)>
Received on Sat Nov 07 2015 - 13:58:45 CET

This archive was generated by hypermail 2.3.0 : Sat Nov 07 2015 - 14:00:13 CET