diff options
author | Benny Baumann <BenBE@geshi.org> | 2022-05-29 23:03:56 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2022-05-31 13:55:43 +0200 |
commit | 2999fff88eef0cad39dbbc0054bdf8af9a92215e (patch) | |
tree | 59789d67f430d134c5dbe7f48ddf4bbb21bd244b /ScreensPanel.c | |
parent | 2613db4b0d714b2525ae388680523f55b80451b8 (diff) |
Refactor code for rendering command line cache
Fixes #1008
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); |