From 8c9002cf75f4e82f5dd87a2601d02983dd3e5f7d Mon Sep 17 00:00:00 2001 From: "Christopher R. Nelson" Date: Sun, 7 Jan 2024 14:17:40 -0500 Subject: include rofi cherry-picked update --- crn/packages/patches/rofi-extra-whitespace.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 crn/packages/patches/rofi-extra-whitespace.patch (limited to 'crn/packages/patches/rofi-extra-whitespace.patch') 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'); -- cgit v1.2.3