fix hyprland freeze when undocking from docking station

This commit is contained in:
tomahk 2022-09-19 20:42:59 +02:00
parent ec6144e5da
commit 3780361b95
1 changed files with 2 additions and 1 deletions

View File

@ -286,7 +286,8 @@ void Events::listener_monitorFrame(void* owner, void* data) {
pixman_region32_fini(&frameDamage);
pixman_region32_fini(&damage);
wlr_output_commit(PMONITOR->output);
if (!wlr_output_commit(PMONITOR->output))
return;
if (*PDAMAGEBLINK || *PNOVFR)
g_pCompositor->scheduleFrameForMonitor(PMONITOR);