chore: clean up notification & warnings

This commit is contained in:
Matias 2025-07-16 23:13:15 +02:00
parent 1b7edd84f3
commit 8d126b2145
No known key found for this signature in database
GPG Key ID: ED35A6AC65A06B69
2 changed files with 2 additions and 9 deletions

View File

@ -187,13 +187,6 @@ APICALL EXPORT PLUGIN_DESCRIPTION_INFO PLUGIN_INIT(HANDLE handle) {
HyprlandAPI::reloadConfig(); 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}; return {"wigglewobble", "Wobbly windows for Hyprland", "All-Purpose Mat", PLUGIN_VERSION};
} }

View File

@ -32,8 +32,8 @@ void CRenderWobblyWindowPassElement::initGPUObjects() {
std::vector<GLuint> indices; std::vector<GLuint> indices;
indices.reserve(3 * 2 * s_SUBDIVS * s_SUBDIVS); indices.reserve(3 * 2 * s_SUBDIVS * s_SUBDIVS);
for (int y = 0; y < s_SUBDIVS; ++y) { for (unsigned int y = 0; y < s_SUBDIVS; ++y) {
for (int x = 0; x < s_SUBDIVS; ++x) { for (unsigned int x = 0; x < s_SUBDIVS; ++x) {
indices.push_back(y * vertsPerRow + x + 1); // top right indices.push_back(y * vertsPerRow + x + 1); // top right
indices.push_back(y * vertsPerRow + x); // top left indices.push_back(y * vertsPerRow + x); // top left
indices.push_back((y + 1) * vertsPerRow + x + 1); // bottom right indices.push_back((y + 1) * vertsPerRow + x + 1); // bottom right