summaryrefslogtreecommitdiff
path: root/crn/packages/patches
diff options
context:
space:
mode:
authorChristopher R. Nelson <christopher.nelson@languidnights.com>2024-01-07 14:17:40 -0500
committerChristopher R. Nelson <christopher.nelson@languidnights.com>2024-01-09 22:17:15 -0500
commit8c9002cf75f4e82f5dd87a2601d02983dd3e5f7d (patch)
tree6e80f68da8ad3406198e16fc93f94d6b5ae12391 /crn/packages/patches
parent6129b63949c0c3202704d0f00e25a0fc723dfd97 (diff)
include rofi cherry-picked update
Diffstat (limited to 'crn/packages/patches')
-rw-r--r--crn/packages/patches/rofi-extra-whitespace.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/crn/packages/patches/rofi-extra-whitespace.patch b/crn/packages/patches/rofi-extra-whitespace.patch
new file mode 100644
index 0000000..1d065f7
--- /dev/null
+++ b/crn/packages/patches/rofi-extra-whitespace.patch
@@ -0,0 +1,13 @@
+diff --git a/source/modes/dmenu.c b/source/modes/dmenu.c
+index 27b6097d..85dda8e5 100644
+--- a/source/modes/dmenu.c
++++ b/source/modes/dmenu.c
+@@ -391,7 +391,7 @@ static gchar *dmenu_format_output_string(const DmenuModePrivateData *pd,
+ unsigned int index =
+ (unsigned int)g_ascii_strtoull(pd->columns[i], NULL, 10);
+ if (index <= ns && index > 0) {
+- if (i == 0) {
++ if (index == 1) {
+ g_string_append(str_retv, splitted[index - 1]);
+ } else {
+ g_string_append_c(str_retv, '\t');