Giter VIP home page Giter VIP logo

Comments (7)

horriblename avatar horriblename commented on July 22, 2024

because there's a version mismatch? rebuild hyprgrass or something, hyprpm should handle that

from hyprgrass.

Mahgozar avatar Mahgozar commented on July 22, 2024

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.

horriblename avatar horriblename commented on July 22, 2024

oh yeah hyprgrass is broken right now #100

from hyprgrass.

Mahgozar avatar Mahgozar commented on July 22, 2024

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.

horriblename avatar horriblename commented on July 22, 2024

send crash logs, should be in ~/.hyprland or ~/.cache/hyprland

from hyprgrass.

horriblename avatar horriblename commented on July 22, 2024

but before that, upgrade hyprgrass again, on the off chance it's the bug from before

from hyprgrass.

Mahgozar avatar Mahgozar commented on July 22, 2024

updated both hyprland and hyprgrass.
the crash is resolved
thanks!

from hyprgrass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.