renderer: optimize render pipeline when there is a solitary client

This commit is contained in:
vaxerski
2023-09-29 17:51:07 +01:00
parent ab11bd2085
commit a44ab7748f
6 changed files with 100 additions and 80 deletions

View File

@@ -514,7 +514,7 @@ void CCompositor::startCompositor() {
throwError("The backend could not start!");
}
wlr_cursor_set_xcursor(m_sWLRCursor, m_sWLRXCursorMgr, "left_ptr");
g_pHyprRenderer->setCursorFromName("left_ptr");
#ifdef USES_SYSTEMD
if (sd_booted() > 0)