Skip to content

Update for latest hyprland commit#261

Merged
outfoxxed merged 1 commit into
outfoxxed:masterfrom
Immelancholy:update-to-m_reserved_area
Dec 22, 2025
Merged

Update for latest hyprland commit#261
outfoxxed merged 1 commit into
outfoxxed:masterfrom
Immelancholy:update-to-m_reserved_area

Conversation

@Immelancholy

@Immelancholy Immelancholy commented Dec 8, 2025

Copy link
Copy Markdown
Contributor

Adds the dispatcherV2 code from #168 as there were build errors preventing it from building in #256 and should fix #260 by updating m_reservedTopLeft and m_reservedBottomRight to use m_reservedArea

@tempergate

Copy link
Copy Markdown

patch works

~  hyprctl version
Hyprland 0.52.0 built from branch unknown at commit a5b7c91329313503e8864761f24ef43fb630f35c dirty (unknown).
Date: 2025-12-07
Tag: v0.52.0, commits: 0

Libraries:
Hyprgraphics: built against 0.4.0, system has unknown
Hyprutils: built against 0.11.0, system has unknown
Hyprcursor: built against 0.1.13, system has unknown
Hyprlang: built against 0.6.7, system has unknown
Aquamarine: built against 0.10.0, system has unknown

Version ABI string: a5b7c91329313503e8864761f24ef43fb630f35c_aq_0.10_hu_0.11_hg_0.4_hc_0.1_hlg_0.6
no flags were set

@Immelancholy

Copy link
Copy Markdown
Contributor Author

:3

@Immelancholy

Immelancholy commented Dec 8, 2025

Copy link
Copy Markdown
Contributor Author

ik there's not error messages for the dispatch api but I was doing this at like 2am lol. I can try and figure out what appropriate errors would be when I get off work and finish some apprenticeship work tonight if that is needed.

@tempergate

tempergate commented Dec 9, 2025

Copy link
Copy Markdown

hyprland got another update, LMAO
buildlog.txt

latest version built hy3 successfully is a5b7c91329313503e8864761f24ef43fb630f35c

@Immelancholy

Copy link
Copy Markdown
Contributor Author

hyprland got another update, LMAO
buildlog.txt

latest version built hy3 successfully is a5b7c91329313503e8864761f24ef43fb630f35c

Bruhhh, I'll see what I can do when I get back from college today lol.

@tempergate

Copy link
Copy Markdown

hyprland got another update, LMAO
buildlog.txt
latest version built hy3 successfully is a5b7c91329313503e8864761f24ef43fb630f35c

Bruhhh, I'll see what I can do when I get back from college today lol.

IMG_9251

@Immelancholy

Copy link
Copy Markdown
Contributor Author

hyprland got another update, LMAO
buildlog.txt
latest version built hy3 successfully is a5b7c91329313503e8864761f24ef43fb630f35c

Bruhhh, I'll see what I can do when I get back from college today lol.

IMG_9251

Type shi.

I got it building again and seems to work okay so far? I'm ngl I do not have much experience with c++ at all so I am just reading the errors and trying my damndest to make em go away by fixing them. I rebooted into the latest hyprland with this commit of hy3 just now and so far no crash! xD

@Immelancholy

Copy link
Copy Markdown
Contributor Author

hyprland got another update, LMAO
buildlog.txt
latest version built hy3 successfully is a5b7c91329313503e8864761f24ef43fb630f35c

Bruhhh, I'll see what I can do when I get back from college today lol.

IMG_9251

Type shi.

I got it building again and seems to work okay so far? I'm ngl I do not have much experience with c++ at all so I am just reading the errors and trying my damndest to make em go away by fixing them. I rebooted into the latest hyprland with this commit of hy3 just now and so far no crash! xD

Where I get stuck I ask if Claude has any ideas. If they look sane enough I try them and fingies crossed lmao.

@tempergate

tempergate commented Dec 9, 2025

Copy link
Copy Markdown

hyprland got another update, LMAO
buildlog.txt
latest version built hy3 successfully is a5b7c91329313503e8864761f24ef43fb630f35c

Bruhhh, I'll see what I can do when I get back from college today lol.

IMG_9251

Type shi.

I got it building again and seems to work okay so far? I'm ngl I do not have much experience with c++ at all so I am just reading the errors and trying my damndest to make em go away by fixing them. I rebooted into the latest hyprland with this commit of hy3 just now and so far no crash! xD

It's building correctly.
Now i'll try to reboot to the updated drv

ps
okay, everything works fine

@Immelancholy

Copy link
Copy Markdown
Contributor Author

hyprland got another update, LMAO
buildlog.txt
latest version built hy3 successfully is a5b7c91329313503e8864761f24ef43fb630f35c

Bruhhh, I'll see what I can do when I get back from college today lol.

IMG_9251

Type shi.
I got it building again and seems to work okay so far? I'm ngl I do not have much experience with c++ at all so I am just reading the errors and trying my damndest to make em go away by fixing them. I rebooted into the latest hyprland with this commit of hy3 just now and so far no crash! xD

It's building correctly. Now i'll try to reboot to the updated drv

ps okay, everything works fine

Yippeee! :>

@Immelancholy Immelancholy changed the title Update hyprland vars for latest commit Update for latest hyprland commit Dec 9, 2025
@tempergate

Copy link
Copy Markdown

@outfoxxed , please, accept that mr

@tempergate

tempergate commented Dec 19, 2025

Copy link
Copy Markdown

after latest update fail
hy3buildlog.txt

Logger was moved to a new place
hyprwm/Hyprland#12673

@tempergate

tempergate commented Dec 19, 2025

Copy link
Copy Markdown

@Immelancholy
try to add that fix

hy3-logger.patch

@tempergate

Copy link
Copy Markdown

check the mr Immelancholy#1

@Immelancholy

Copy link
Copy Markdown
Contributor Author

check the mr Immelancholy#1

Imma be on it dw, I've been at work all day.

@outfoxxed outfoxxed left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't compile on the updated nix pin either

/home/admin/programming/outfoxxed/hyprland/hy3/src/dispatchers.cpp:6:10: fatal error: hyprland/src/debug/log/Logger.hpp: No such file or directory
    6 | #include <hyprland/src/debug/log/Logger.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/hy3.dir/build.make:93: CMakeFiles/hy3.dir/src/dispatchers.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/admin/programming/outfoxxed/hyprland/hy3/src/globals.hpp:10,
                 from /home/admin/programming/outfoxxed/hyprland/hy3/src/main.cpp:8:
/home/admin/programming/outfoxxed/hyprland/hy3/src/log.hpp:3:10: fatal error: hyprland/src/debug/log/Logger.hpp: No such file or directory
    3 | #include <hyprland/src/debug/log/Logger.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/hy3.dir/build.make:79: CMakeFiles/hy3.dir/src/main.cpp.o] Error 1
In file included from /home/admin/programming/outfoxxed/hyprland/hy3/src/globals.hpp:10,
                 from /home/admin/programming/outfoxxed/hyprland/hy3/src/Hy3Node.cpp:15:
/home/admin/programming/outfoxxed/hyprland/hy3/src/log.hpp:3:10: fatal error: hyprland/src/debug/log/Logger.hpp: No such file or directory
    3 | #include <hyprland/src/debug/log/Logger.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/admin/programming/outfoxxed/hyprland/hy3/src/globals.hpp:10,
                 from /home/admin/programming/outfoxxed/hyprland/hy3/src/Hy3Layout.cpp:26:
/home/admin/programming/outfoxxed/hyprland/hy3/src/log.hpp:3:10: fatal error: hyprland/src/debug/log/Logger.hpp: No such file or directory
    3 | #include <hyprland/src/debug/log/Logger.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/hy3.dir/build.make:121: CMakeFiles/hy3.dir/src/Hy3Node.cpp.o] Error 1
make[2]: *** [CMakeFiles/hy3.dir/build.make:107: CMakeFiles/hy3.dir/src/Hy3Layout.cpp.o] Error 1
In file included from /home/admin/programming/outfoxxed/hyprland/hy3/src/globals.hpp:10,
                 from /home/admin/programming/outfoxxed/hyprland/hy3/src/TabGroup.cpp:24:
/home/admin/programming/outfoxxed/hyprland/hy3/src/log.hpp:3:10: fatal error: hyprland/src/debug/log/Logger.hpp: No such file or directory
    3 | #include <hyprland/src/debug/log/Logger.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/hy3.dir/build.make:135: CMakeFiles/hy3.dir/src/TabGroup.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/hy3.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Comment thread src/log.hpp
Comment thread src/TabGroup.cpp
Comment thread src/Hy3Layout.cpp Outdated
@Immelancholy
Immelancholy force-pushed the update-to-m_reserved_area branch from 0ac8e07 to 609b4c9 Compare December 20, 2025 23:42
@tempergate

tempergate commented Dec 21, 2025

Copy link
Copy Markdown

Latest commit from that branch is not building with latest hyprland.
Here is a patch to make it build
hy3-logger.patch
maybe not the best solution.
Here was added new logger support and commented some removed or changed features

- Changed dispatcher functions to return `SDispatchResult`.
- Updated all `HyprlandAPI::addDispatcher` calls to `HyprlandAPI::addDispatcherV2`.
- Added missing `return SDispatchResult {};` statements to dispatcher functions.
- Introduced `static` keyword for all dispatcher functions.
@outfoxxed
outfoxxed force-pushed the update-to-m_reserved_area branch from 0c4f6da to 30f1b5e Compare December 22, 2025 02:53
@outfoxxed
outfoxxed merged commit 30f1b5e into outfoxxed:master Dec 22, 2025
@Immelancholy
Immelancholy deleted the update-to-m_reserved_area branch January 18, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

not building with latest version flake

3 participants