Skip to content

Cannot use hyprpm or compile for Hyprland 0.56.2 #2

Description

@ThorsFarm

I have a widescreen monitor, and would love this plugin to work as it ticks of all the things I need :)

However when I try and add it through hyprpm, it wont compile. So I tried manual compile, and it seems like the Monitor.hpp has changed path, so it is now hyprland/src/output/Monitor.hpp instead of hyprland/src/helpers/Monitor.hpp.

This doesnt fix it, as there are some more errors when changing to the correct path:

src/main.cpp: In function ‘bool {anonymous}::windowIsClosingOrDead(const PHLWINDOW&)’:
src/main.cpp:529:54: error: ‘class Desktop::View::CWindow’ has no member named ‘m_fadingOut’
  529 |     return !window || !window->m_isMapped || window->m_fadingOut || window->m_readyToDelete;
      |                                                      ^~~~~~~~~~~
src/main.cpp:529:77: error: ‘class Desktop::View::CWindow’ has no member named ‘m_readyToDelete’
  529 |     return !window || !window->m_isMapped || window->m_fadingOut || window->m_readyToDelete;
      |                                                                             ^~~~~~~~~~~~~~~
src/main.cpp: In function ‘PHLWINDOW {anonymous}::windowFromKey(uintptr_t)’:
src/main.cpp:616:46: error: ‘class CCompositor’ has no member named ‘m_windows’
  616 |     for (const auto& window : g_pCompositor->m_windows) {
      |                                              ^~~~~~~~~
src/main.cpp: In function ‘PHLWINDOW {anonymous}::activeWindow()’:
src/main.cpp:1093:46: error: ‘class CCompositor’ has no member named ‘m_windows’
 1093 |     for (const auto& window : g_pCompositor->m_windows) {
      |                                              ^~~~~~~~~
src/main.cpp:1094:60: error: ‘class CCompositor’ has no member named ‘isWindowActive’
 1094 |         if (window && window->m_isMapped && g_pCompositor->isWindowActive(window))
      |                                                            ^~~~~~~~~~~~~~
make: *** [Makefile:16: hyprsplitrow.so] Error 1

Any fix for this in the near future?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions