Skip to content

Commit

Permalink
core: avoid uninitialized overriddenBy of raw shape data
Browse files Browse the repository at this point in the history
ref #64
  • Loading branch information
vaxerski committed Sep 30, 2024
1 parent b98726e commit 6664842
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libhyprcursor/hyprcursor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ SCursorRawShapeDataC* CHyprcursorManager::getRawShapeDataC(const char* shape_) {

SCursorRawShapeDataC* data = new SCursorRawShapeDataC;
std::vector<SLoadedCursorImage*> resultingImages;
data->overridenBy = nullptr;

for (auto& shape : impl->theme.shapes) {
// if it's overridden just return the override
Expand Down

0 comments on commit 6664842

Please sign in to comment.