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

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);