mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 22:22:00 -07:00
render: plug missing software cursor unlocks
This commit is contained in:
@@ -826,6 +826,10 @@ void CHyprRenderer::renderMonitor(CMonitor* pMonitor) {
|
|||||||
|
|
||||||
if (!wlr_output_damage_attach_render(pMonitor->damage, &hasChanged, &damage)) {
|
if (!wlr_output_damage_attach_render(pMonitor->damage, &hasChanged, &damage)) {
|
||||||
Debug::log(ERR, "Couldn't attach render to display %s ???", pMonitor->szName.c_str());
|
Debug::log(ERR, "Couldn't attach render to display %s ???", pMonitor->szName.c_str());
|
||||||
|
|
||||||
|
if (UNLOCK_SC)
|
||||||
|
wlr_output_lock_software_cursors(pMonitor->output, false);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -843,6 +847,9 @@ void CHyprRenderer::renderMonitor(CMonitor* pMonitor) {
|
|||||||
|
|
||||||
pMonitor->renderingActive = false;
|
pMonitor->renderingActive = false;
|
||||||
|
|
||||||
|
if (UNLOCK_SC)
|
||||||
|
wlr_output_lock_software_cursors(pMonitor->output, false);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user