hyprNStack icon indicating copy to clipboard operation
hyprNStack copied to clipboard

Breaking changes in Hyprland

Open TyrHeimdalEVE opened this issue 1 month ago • 0 comments

There has been some changes in Hyprland, leading to breakage after https://github.com/hyprwm/Hyprland/pull/12269 was merged.

→ Building hyprNStack
 ━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 6  Updating hyprNStack[v] shell returned:  -> cd /run/user/1000/hyprpm/user && PKG_CONFIG_PATH="/var/cache/hyprpm/user/headersRoot/share/pkgconfig" make all
g++ -DWLR_USE_UNSTABLE -shared -fPIC --no-gnu-unique main.cpp nstackLayout.cpp -o nstackLayoutPlugin.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b
nstackLayout.cpp: In member function ‘virtual void CHyprNstackLayout::onWindowRemovedTiling(PHLWINDOW)’:
nstackLayout.cpp:271:14: error: ‘class CWindow’ has no member named ‘unsetWindowData’; did you mean ‘updateWindowData’?
  271 |     pWindow->unsetWindowData(PRIORITY_LAYOUT);
      |              ^~~~~~~~~~~~~~~
      |              updateWindowData
nstackLayout.cpp:271:30: error: ‘PRIORITY_LAYOUT’ was not declared in this scope; did you mean ‘Desktop::Types::PRIORITY_LAYOUT’?
  271 |     pWindow->unsetWindowData(PRIORITY_LAYOUT);
      |                              ^~~~~~~~~~~~~~~
      |                              Desktop::Types::PRIORITY_LAYOUT
In file included from /var/cache/hyprpm/user/headersRoot/include/hyprland/src/config/../desktop/rule/windowRule/WindowRuleApplicator.hpp:8,
                 from /var/cache/hyprpm/user/headersRoot/include/hyprland/src/config/../desktop/Window.hpp:19,
                 from /var/cache/hyprpm/user/headersRoot/include/hyprland/src/config/ConfigManager.hpp:15,
                 from nstackLayout.hpp:6,
                 from nstackLayout.cpp:1:
/var/cache/hyprpm/user/headersRoot/include/hyprland/src/config/../desktop/rule/windowRule/../../types/OverridableVar.hpp:24:9: note: ‘Desktop::Types::PRIORITY_LAYOUT’ declared here
   24 |         PRIORITY_LAYOUT = 0,
      |         ^~~~~~~~~~~~~~~
nstackLayout.cpp: In member function ‘void CHyprNstackLayout::applyNodeDataToWindow(SNstackNodeData*)’:
nstackLayout.cpp:630:14: error: ‘class CWindow’ has no member named ‘unsetWindowData’; did you mean ‘updateWindowData’?
  630 |     PWINDOW->unsetWindowData(PRIORITY_LAYOUT);
      |              ^~~~~~~~~~~~~~~
      |              updateWindowData
nstackLayout.cpp:630:30: error: ‘PRIORITY_LAYOUT’ was not declared in this scope; did you mean ‘Desktop::Types::PRIORITY_LAYOUT’?
  630 |     PWINDOW->unsetWindowData(PRIORITY_LAYOUT);
      |                              ^~~~~~~~~~~~~~~
      |                              Desktop::Types::PRIORITY_LAYOUT
/var/cache/hyprpm/user/headersRoot/include/hyprland/src/config/../desktop/rule/windowRule/../../types/OverridableVar.hpp:24:9: note: ‘Desktop::Types::PRIORITY_LAYOUT’ declared here
   24 |         PRIORITY_LAYOUT = 0,
      |         ^~~~~~~~~~~~~~~
nstackLayout.cpp:657:18: error: ‘class CWindow’ has no member named ‘m_windowData’
  657 |         PWINDOW->m_windowData.noBorder   = CWindowOverridableVar(WORKSPACERULE.noBorder.value_or(PWORKSPACEDATA->no_gaps_when_only != 2), PRIORITY_LAYOUT);
      |                  ^~~~~~~~~~~~
nstackLayout.cpp:657:44: error: ‘CWindowOverridableVar’ was not declared in this scope
  657 |         PWINDOW->m_windowData.noBorder   = CWindowOverridableVar(WORKSPACERULE.noBorder.value_or(PWORKSPACEDATA->no_gaps_when_only != 2), PRIORITY_LAYOUT);
      |                                            ^~~~~~~~~~~~~~~~~~~~~
nstackLayout.cpp:658:18: error: ‘class CWindow’ has no member named ‘m_windowData’
  658 |         PWINDOW->m_windowData.decorate   = CWindowOverridableVar(WORKSPACERULE.decorate.value_or(true), PRIORITY_LAYOUT);
      |                  ^~~~~~~~~~~~
nstackLayout.cpp:659:18: error: ‘class CWindow’ has no member named ‘m_windowData’
  659 |         PWINDOW->m_windowData.noRounding = CWindowOverridableVar(true, PRIORITY_LAYOUT);
      |                  ^~~~~~~~~~~~
nstackLayout.cpp:660:18: error: ‘class CWindow’ has no member named ‘m_windowData’
  660 |         PWINDOW->m_windowData.noShadow   = CWindowOverridableVar(true, PRIORITY_LAYOUT);
      |                  ^~~~~~~~~~~~
nstackLayout.cpp: In member function ‘virtual void CHyprNstackLayout::fullscreenRequestForWindow(PHLWINDOW, eFullscreenMode, eFullscreenMode)’:
nstackLayout.cpp:855:22: error: ‘class CWindow’ has no member named ‘unsetWindowData’; did you mean ‘updateWindowData’?
  855 |             pWindow->unsetWindowData(PRIORITY_LAYOUT);
      |                      ^~~~~~~~~~~~~~~
      |                      updateWindowData
nstackLayout.cpp:855:38: error: ‘PRIORITY_LAYOUT’ was not declared in this scope; did you mean ‘Desktop::Types::PRIORITY_LAYOUT’?
  855 |             pWindow->unsetWindowData(PRIORITY_LAYOUT);
      |                                      ^~~~~~~~~~~~~~~
      |                                      Desktop::Types::PRIORITY_LAYOUT
/var/cache/hyprpm/user/headersRoot/include/hyprland/src/config/../desktop/rule/windowRule/../../types/OverridableVar.hpp:24:9: note: ‘Desktop::Types::PRIORITY_LAYOUT’ declared here
   24 |         PRIORITY_LAYOUT = 0,
      |         ^~~~~~~~~~~~~~~
make: *** [Makefile:2: all] Error 1



✖ Plugin hyprNStack failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.

TyrHeimdalEVE avatar Nov 18 '25 18:11 TyrHeimdalEVE