diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:58:11 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:58:11 +0000 |
commit | cf625b5f9a5808cd60bbdec8969deb5a5698c02f (patch) | |
tree | 474e4a9d79e47529696421d933dcf76765271364 /debian/patches/003_fix_column_header_update.patch | |
parent | Adding upstream version 3.3.0. (diff) | |
download | htop-cf625b5f9a5808cd60bbdec8969deb5a5698c02f.tar.xz htop-cf625b5f9a5808cd60bbdec8969deb5a5698c02f.zip |
Adding debian version 3.3.0-4.debian/3.3.0-4debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/003_fix_column_header_update.patch')
-rw-r--r-- | debian/patches/003_fix_column_header_update.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/003_fix_column_header_update.patch b/debian/patches/003_fix_column_header_update.patch new file mode 100644 index 0000000..7122d04 --- /dev/null +++ b/debian/patches/003_fix_column_header_update.patch @@ -0,0 +1,23 @@ +From 91990b1a34927a4136a85e4ff9adcdbfa500286a Mon Sep 17 00:00:00 2001 +From: Daniel Lange <DLange@git.local> +Date: Wed, 17 Jan 2024 10:18:31 +0100 +Subject: [PATCH] Clicking on column headers needs to also update the sort + direction arrow + +--- + MainPanel.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/MainPanel.c b/MainPanel.c +index 83490236e..47b2f92fe 100644 +--- a/MainPanel.c ++++ b/MainPanel.c +@@ -92,7 +92,7 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) { + } else { + reaction |= Action_setSortKey(settings, field); + } +- reaction |= HTOP_RECALCULATE | HTOP_REDRAW_BAR | HTOP_SAVE_SETTINGS; ++ reaction |= HTOP_RECALCULATE | HTOP_REDRAW_BAR | HTOP_UPDATE_PANELHDR | HTOP_SAVE_SETTINGS; + result = HANDLED; + } else if (EVENT_IS_SCREEN_TAB_CLICK(ch)) { + int x = EVENT_SCREEN_TAB_GET_X(ch); |