Comments (7)
because there's a version mismatch? rebuild hyprgrass or something, hyprpm should handle that
from hyprgrass.
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.
from hyprgrass.
oh yeah hyprgrass is broken right now #100
from hyprgrass.
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
from hyprgrass.
send crash logs, should be in ~/.hyprland or ~/.cache/hyprland
from hyprgrass.
but before that, upgrade hyprgrass again, on the off chance it's the bug from before
from hyprgrass.
updated both hyprland and hyprgrass.
the crash is resolved
thanks!
from hyprgrass.
Related Issues (20)
- Touch Gestures are not be Working HOT 2
- workspace_swipe_edge = d is completely broken HOT 2
- possible to make it play nice with hyprexpo? HOT 2
- Build fails HOT 3
- hyprpm failed to build HOT 1
- Plugin doesn't work HOT 5
- Workspace swipe rework
- config: Move to hyprlang keywords
- Is this plugin only for the git version of Hyprland? HOT 2
- compile failed for nixos HOT 5
- Plugin isn't correctly loading HOT 11
- hyprgrass failing to build (GestureManager.cpp) HOT 6
- Misaligned mouse gestures HOT 13
- Swiping up from bottom edge not working HOT 1
- incorrect position mapping with multiple touch screens HOT 13
- Hyprgrass fails to build HOT 2
- Compilation error building from flake. HOT 3
- Unable to get any functionality out of hyprgrass 0.7, hyprland 0.41.1 HOT 2
- Increase touch margins HOT 2
- testing gestures HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyprgrass.