mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-07 07:31:53 -07:00
cursor: Fallback to xcursor if failed to render hyprcursor (#5534)
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user