mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-08-17 01:00:27 +03:00
cursor: Fallback to xcursor if failed to render hyprcursor (#5534)
This commit is contained in:
parent
c35fa9bacc
commit
0b2f7a1b2f
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user