commit d9ccbf11c91f21b41ee6a6be9df84188f9c73399
Author: clamiax <[email protected]>
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
@@ -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
+@@ -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
@@ -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 <[[email protected]](mailto:[email protected])>


Reply via email to