diff --git a/libhyprcursor/hyprcursor.cpp b/libhyprcursor/hyprcursor.cpp index e0926f6..d28c6fa 100644 --- a/libhyprcursor/hyprcursor.cpp +++ b/libhyprcursor/hyprcursor.cpp @@ -455,7 +455,7 @@ bool CHyprcursorManager::loadThemeStyle(const SCursorStyleInfo& info) { if (shape->shapeType == SHAPE_PNG) { for (auto& image : impl->loadedShapes[shape.get()].images) { - if (image->side != info.size) + if (image->side != std::round(info.size / shape->nominalSize)) continue; sizeFound = true;