summaryrefslogtreecommitdiff
path: root/src/managers/HookSystemManager.hpp
Commit message (Collapse)AuthorAgeFilesLines
* event: refactor HookSystem into a typed event bus (#13333)Vaxry2026-02-221-60/+0
| | | | | Refactors the old HookSystem into a typed event bus with clear separation, discovery and types.
* refactor: replace all `typedef` with `using` (#10594)Kamikadze2025-05-311-2/+2
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-3/+3
|
* hooksystem: avoid huge include for HANDLEVaxry2025-01-261-1/+1
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-1/+1
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-1/+1
| | | Cleanup some unneeded includes to speed up compilation
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-5/+5
| | | | | | | | | | | 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.
* HookSystem: improve callback safetyVaxry2024-04-201-10/+10
|
* hooksystem: add callbackinfo struct and cancellable eventsVaxry2023-10-211-3/+14
|
* Plugin System (#1590)Vaxry2023-02-271-7/+20
| | | | | --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* Added an Event Hook System (#1578)Vaxry2023-02-191-0/+36
* added an eventHookSystem * Add all socket2 events to hooks