This commit is contained in:
Vaxry 2024-07-08 15:27:56 +02:00
parent 45f726c6bd
commit 1d4e51876d

View file

@ -132,7 +132,6 @@ void CCursorManager::setCursorSurface(SP<CWLSurface> surf, const Vector2D& hotsp
void CCursorManager::setXCursor(const std::string& name) { void CCursorManager::setXCursor(const std::string& name) {
float scale = std::ceil(m_fCursorScale); float scale = std::ceil(m_fCursorScale);
xcursor.loadTheme(name.c_str(), m_iSize * scale);
if (!xcursor.themeLoaded) { if (!xcursor.themeLoaded) {
Debug::log(ERR, "XCursor failed to find theme in setXCursor"); Debug::log(ERR, "XCursor failed to find theme in setXCursor");