summaryrefslogtreecommitdiff
path: root/src/managers/eventLoop/EventLoopManager.hpp
Commit message (Collapse)AuthorAgeFilesLines
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-1/+1
|
* core/renderer: Add GPU hotplug support (#8980)maround952025-01-231-8/+21
|
* core: move to inotify for monitoring the config filesvaxerski2025-01-191-0/+2
| | | | | | instead of manually polling every second which is not efficient, use inotify. an added bonus is that inotify is much much faster
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-4/+12
| | | | | | | | | | | | | | 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>
* pointer: update geometry after unplug eventsVaxry2024-07-051-2/+12
| | | | | | fixes #6700 fixes #6740
* core: fix a few asan reported issues and a coredump on exit (#6285)Tom Englund2024-06-031-2/+4
| | | | | | | | | | | | | | | | | | * xwayland: add destructor to CXWM and free resource the wl_event_resource was running upon destruction of the compositor causing a null pointer segfault in onX11Event so ensure the event is removed upon destruction, also free the memory allocated by xcb_errors_context_new and finally call xcb_disconnect on the connection to free the fd and its memory. * hyprctl: dont leak the fd on destruction add a destructor and properly free the fd on destruction * eventloop: add destructor and free event source properly free the wl_event_source upon destruction.
* eventloop: don't call lost timersVaxry2024-05-071-0/+2
|
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-5/+4
| | | | | | | | | | | 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.
* style: run clang-formatVaxry2024-04-081-1/+1
|
* eventloop: move timers to an event loop fdVaxry2024-04-071-15/+5
| | | | fixes #5481
* core: Event loop rework (#5466)Vaxry2024-04-071-0/+46
* Event loop rework * revert missed