summaryrefslogtreecommitdiff
path: root/src/protocols/OutputManagement.cpp
Commit message (Collapse)AuthorAgeFilesLines
* config: cleanup the entire config infrastructure (#13785)Vaxry2026-03-201-3/+4
| | | | Massively refactors the config infrastructure, sorely needed and will be req'd for the lua stuff
* event: refactor HookSystem into a typed event bus (#13333)Vaxry2026-02-221-2/+2
| | | | | Refactors the old HookSystem into a typed event bus with clear separation, discovery and types.
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-40/+40
|
* protocols/outputMgmt: fix wlr-randr by defering success event until monitor ↵nikromen2025-11-081-2/+23
| | | | | | | | | | | reloads (#12236) wlr-randr disconnects immediately after receiving success event, but before applying the monitor configuration. This causes the state to be lost when performMonitorReload() is called. By postponing the success event until the call of the hook monitorLayoutChanged we ensure the configuration to remain valid during the reload process.
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-2/+2
|
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-2/+2
|
* protocols: refactor class member vars (n-t) (#10273)davc0n2025-05-041-202/+203
|
* helpers: refactor class member vars (#10218)davc0n2025-04-301-56/+56
|
* compositor: refactor class member vars (#10141)davc0n2025-04-221-5/+5
|
* config: Refactor class member vars (#10124)davc0n2025-04-201-2/+2
| | | | | * Refactor config classes vars * Fix clang format errors
* core: add LIKELY and UNLIKELY macrosvaxerski2025-01-171-11/+11
| | | | helps the compiler optimize
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+3
| | | Cleanup some unneeded includes to speed up compilation
* core: Add clang-tidy (#8664)Vaxry2024-12-071-3/+3
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* internal: cleanup CMonitor usage and fix a few ref hogsVaxry2024-10-261-1/+1
| | | | ref #8221
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-191-12/+10
| | | | | * move monitors to sp * XD
* wlr-output-management: accept 0 refresh ratesVaxry2024-09-301-1/+6
| | | | fixes #7879
* wlr-output-configuration: Improve output configuration (#7571)Vaxry2024-09-261-38/+77
|
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-12/+12
| | | now we roll loops at blazing constified speed.
* protocols: refactor protocol logging to a macro (#7324)Tom Englund2024-08-151-2/+0
| | | | | | this avoids the usage of the unique_ptr PROTO::protocol before it has been constructed incase one wants to log something inside the constructor itself, move the logging to macros and print file:linenumber on ERR,CRIT,WARN and classname on the rest of the levels.
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-27/+29
| | | | | | | | | | | | | | Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
* internal: Replace monitor rule when disabling head. (#6136)Alessio Molinari2024-05-231-1/+8
| | | Closes #5978
* core: chase hyprwayland-scannerVaxry2024-05-071-2/+2
|
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-9/+8
| | | | | | | | | | | moves std::shared_ptrs to a new implementation Advantages: - you can dereference a weak_ptr directly. This will obviously segfault on a nullptr deref if it's expired. - this is useful to avoid the .lock() hell where we are 100% sure the pointer _should_ be valid. (and if it isn't, it should throw.) - weak_ptrs are still valid while the SP is being destroyed. - reasoning: while an object (e.g. CWindow) is being destroyed, its `weak_ptr self` should be accessible (the sp is still alive, and so is CWindow), but it's not because by stl it's already expired (to prevent resurrection) - this impl solves it differently. w_p is expired, but can still be dereferenced and used. Creating `s_p`s is not possible anymore, though. - this is useful in destructors and callbacks.
* output-management: move to new implVaxry2024-05-031-0/+597