From f8de2a65dba528a888468eae344e20e37bd3057c Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 18 Dec 2024 15:52:06 +0000 Subject: [PATCH] thing --- libhyprcursor/hyprcursor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;