From 66648429bd18b5c1fab24feba3aac17325fc3d71 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Mon, 30 Sep 2024 18:10:29 +0100 Subject: [PATCH] core: avoid uninitialized overriddenBy of raw shape data ref #64 --- libhyprcursor/hyprcursor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libhyprcursor/hyprcursor.cpp b/libhyprcursor/hyprcursor.cpp index 86ab9f8..155c0bb 100644 --- a/libhyprcursor/hyprcursor.cpp +++ b/libhyprcursor/hyprcursor.cpp @@ -388,6 +388,7 @@ SCursorRawShapeDataC* CHyprcursorManager::getRawShapeDataC(const char* shape_) { SCursorRawShapeDataC* data = new SCursorRawShapeDataC; std::vector resultingImages; + data->overridenBy = nullptr; for (auto& shape : impl->theme.shapes) { // if it's overridden just return the override