Closed Mahgozar closed 3 months ago
because there's a version mismatch? rebuild hyprgrass or something, hyprpm should handle that
when i try rebuilding with hyprpm it fails to build with the following error
[11/13] Compiling C++ object src/libhyprgrass.so.p/GestureManager.cpp.o
FAILED: src/libhyprgrass.so.p/GestureManager.cpp.o
c++ -Isrc/libhyprgrass.so.p -Isrc -I../src -Isubprojects/wf-touch -I../subprojects/wf-touch -I/usr/include -I/usr/include/pixman-1 -I/usr/include/libdrm -I/home/haku/.local/share/hyprpm/headersRoot/include/hyprland/protocols -I/home/haku/.local/share/hyprpm/headersRoot/include/hyprland/wlroots -I/home/haku/.local/share/hyprpm/headersRoot/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -std=c++23 -fPIC -DWLR_USE_UNSTABLE -MD -MQ src/libhyprgrass.so.p/GestureManager.cpp.o -MF src/libhyprgrass.so.p/GestureManager.cpp.o.d -o src/libhyprgrass.so.p/GestureManager.cpp.o -c ../src/GestureManager.cpp
../src/GestureManager.cpp: In member function ‘bool GestureManager::handleWorkspaceSwipe(GestureDirection)’:
../src/GestureManager.cpp:247:91: error: cannot convert ‘PHLWORKSPACE’ {aka ‘std::shared_ptr<CWorkspace>’} to ‘const int&’
247 | const auto VERTANIMS = g_pCompositor->getWorkspaceByID(g_pCompositor->m_pLastMonitor->activeWorkspace)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
| |
| PHLWORKSPACE {aka std::shared_ptr<CWorkspace>}
In file included from /home/haku/.local/share/hyprpm/headersRoot/include/hyprland/src/managers/KeybindManager.hpp:5,
from ../src/GestureManager.hpp:8,
from ../src/GestureManager.cpp:1:
/home/haku/.local/share/hyprpm/headersRoot/include/hyprland/src/managers/../Compositor.hpp:148:37: note: initializing argument 1 of ‘PHLWORKSPACE CCompositor::getWorkspaceByID(const int&)’
148 | PHLWORKSPACE getWorkspaceByID(const int&);
| ^~~~~~~~~~
[12/13] Compiling C++ object src/libhyprgrass.so.p/main.cpp.o
ninja: build stopped: subcommand failed.
oh yeah hyprgrass is broken right now #100
so the new update fix the building issue but now it crashes when i swipe hyprpm says its loaded on startup but it doesn't react to any gestures i reload the plugin and it crashes with the first swipe
send crash logs, should be in ~/.hyprland or ~/.cache/hyprland
but before that, upgrade hyprgrass again, on the off chance it's the bug from before
updated both hyprland and hyprgrass. the crash is resolved thanks!
whenever i try to load hyprgrass on system start up it gives me the error version mismatch