From 8d126b2145d9cb6859405cd20e9868f341a0231a Mon Sep 17 00:00:00 2001 From: Matias Date: Wed, 16 Jul 2025 23:13:15 +0200 Subject: [PATCH] chore: clean up notification & warnings --- src/main.cpp | 7 ------- src/renderpasses.cpp | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 2101889..5d92967 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -187,13 +187,6 @@ APICALL EXPORT PLUGIN_DESCRIPTION_INFO PLUGIN_INIT(HANDLE handle) { HyprlandAPI::reloadConfig(); - HyprlandAPI::addNotification( - PHANDLE, - "[WiggleWobble] Successfully loaded!", - CHyprColor {0.f, 1.f, 1.f, 1.f}, - 5000 - ); - return {"wigglewobble", "Wobbly windows for Hyprland", "All-Purpose Mat", PLUGIN_VERSION}; } diff --git a/src/renderpasses.cpp b/src/renderpasses.cpp index 03e8d66..bb3f03a 100644 --- a/src/renderpasses.cpp +++ b/src/renderpasses.cpp @@ -32,8 +32,8 @@ void CRenderWobblyWindowPassElement::initGPUObjects() { std::vector indices; indices.reserve(3 * 2 * s_SUBDIVS * s_SUBDIVS); - for (int y = 0; y < s_SUBDIVS; ++y) { - for (int x = 0; x < s_SUBDIVS; ++x) { + for (unsigned int y = 0; y < s_SUBDIVS; ++y) { + for (unsigned int x = 0; x < s_SUBDIVS; ++x) { indices.push_back(y * vertsPerRow + x + 1); // top right indices.push_back(y * vertsPerRow + x); // top left indices.push_back((y + 1) * vertsPerRow + x + 1); // bottom right