mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 21:25:58 +01:00
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) {
|
||||
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 a new issue