cursor: Fallback to xcursor if failed to render hyprcursor (#5534)

This commit is contained in:
SoSeDiK 2024-04-10 19:29:17 +03:00 committed by GitHub
parent c35fa9bacc
commit 0b2f7a1b2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -122,6 +122,7 @@ void CCursorManager::setCursorFromName(const std::string& name) {
if (m_sCurrentCursorShapeData.images.size() < 1) {
Debug::log(ERR, "BUG THIS: No fallback found for a cursor in setCursorFromName");
wlr_cursor_set_xcursor(g_pCompositor->m_sWLRCursor, m_pWLRXCursorMgr, name.c_str());
return;
}
}