cursor: Fallback to xcursor if failed to render hyprcursor (#5534)
This commit is contained in:
parent
c35fa9bacc
commit
0b2f7a1b2f
1 changed files with 1 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ void CCursorManager::setCursorFromName(const std::string& name) {
|
||||||
|
|
||||||
if (m_sCurrentCursorShapeData.images.size() < 1) {
|
if (m_sCurrentCursorShapeData.images.size() < 1) {
|
||||||
Debug::log(ERR, "BUG THIS: No fallback found for a cursor in setCursorFromName");
|
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;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue