summaryrefslogtreecommitdiffstats
path: root/ScreensPanel.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2022-06-01 08:00:55 +0200
committerDaniel Lange <DLange@git.local>2022-06-01 08:00:55 +0200
commitabaec509e6773908720124124ff24ad34f2b1321 (patch)
treee0f63f6bee219e2b642d7e072ce28ffe9c081626 /ScreensPanel.c
parentf156dfecd59d415ea860e2b4dff6be58b6ef3c60 (diff)
parent2999fff88eef0cad39dbbc0054bdf8af9a92215e (diff)
Merge branch 'cmdline-render-cache-rework' of BenBE/htop
Diffstat (limited to 'ScreensPanel.c')
-rw-r--r--ScreensPanel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ScreensPanel.c b/ScreensPanel.c
index 1427fef3..785c3878 100644
--- a/ScreensPanel.c
+++ b/ScreensPanel.c
@@ -315,6 +315,7 @@ void ScreensPanel_update(Panel* super) {
ScreensPanel* this = (ScreensPanel*) super;
int size = Panel_size(super);
this->settings->changed = true;
+ this->settings->lastUpdate++;
this->settings->screens = xReallocArray(this->settings->screens, size + 1, sizeof(ScreenSettings*));
for (int i = 0; i < size; i++) {
ScreenListItem* item = (ScreenListItem*) Panel_get(super, i);

© 2014-2024 Faster IT GmbH | imprint | privacy policy