fix monitor reload crash
This commit is contained in:
parent
7c36dd6e6c
commit
5fa916e6f2
3 changed files with 27 additions and 1 deletions
|
|
@ -139,6 +139,13 @@ void Events::listener_monitorFrame(void* owner, void* data) {
|
|||
g_pConfigManager->performMonitorReload();
|
||||
}
|
||||
|
||||
if (PMONITOR->needsFrameSkip) {
|
||||
PMONITOR->needsFrameSkip = false;
|
||||
wlr_output_schedule_frame(PMONITOR->output);
|
||||
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(PMONITOR->ID);
|
||||
return;
|
||||
}
|
||||
|
||||
timespec now;
|
||||
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue