schedule recalcs in LS

This commit is contained in:
vaxerski 2022-07-26 18:22:34 +02:00
parent 99ebbb36b2
commit b18a2738e3
3 changed files with 10 additions and 4 deletions

View file

@ -214,6 +214,11 @@ void Events::listener_monitorFrame(void* owner, void* data) {
}
// //
if (PMONITOR->scheduledRecalc) {
PMONITOR->scheduledRecalc = false;
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(PMONITOR->ID);
}
timespec now;
clock_gettime(CLOCK_MONOTONIC, &now);