diff options
author | Daniel Lange <DLange@git.local> | 2022-06-01 08:00:55 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2022-06-01 08:00:55 +0200 |
commit | abaec509e6773908720124124ff24ad34f2b1321 (patch) | |
tree | e0f63f6bee219e2b642d7e072ce28ffe9c081626 /ScreensPanel.c | |
parent | f156dfecd59d415ea860e2b4dff6be58b6ef3c60 (diff) | |
parent | 2999fff88eef0cad39dbbc0054bdf8af9a92215e (diff) |
Merge branch 'cmdline-render-cache-rework' of BenBE/htop
Diffstat (limited to 'ScreensPanel.c')
-rw-r--r-- | ScreensPanel.c | 1 |
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); |