summaryrefslogtreecommitdiff
path: root/src/managers/EventManager.hpp
Commit message (Collapse)AuthorAgeFilesLines
* managers: refactor class member vars (#10242)davc0n2025-05-021-3/+3
|
* core: begin using CFileDescriptor from hyprutils (#9122)Tom Englund2025-01-301-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config: make fd use CFileDescriptor make use of the new hyprutils CFileDescriptor instead of manual FD handling. * hyprctl: make fd use CFileDescriptor make use of the new hyprutils CFileDescriptor instead of manual FD handling. * ikeyboard: make fd use CFileDescriptor make use of the new CFileDescriptor instead of manual FD handling, also in sendKeymap remove dead code, it already early returns if keyboard isnt valid, and dont try to close the FD that ikeyboard owns. * core: make SHMFile functions use CFileDescriptor make SHMFile misc functions use CFileDescriptor and its associated usage in dmabuf and keyboard. * core: make explicit sync use CFileDescriptor begin using CFileDescriptor in explicit sync and its timelines and eglsync usage in opengl, there is still a bit left with manual handling that requires future aquamarine change aswell. * eventmgr: make fd and sockets use CFileDescriptor make use of the hyprutils CFileDescriptor instead of manual FD and socket handling and closing. * eventloopmgr: make timerfd use CFileDescriptor make the timerfd use CFileDescriptor instead of manual fd handling * opengl: make gbm fd use CFileDescriptor make the gbm rendernode fd use CFileDescriptor instead of manual fd handling * core: make selection source/offer use CFileDescriptor make data selection source and offers use CFileDescriptor and its associated use in xwm and protocols * protocols: convert protocols fd to CFileDescriptor make most fd handling use CFileDescriptor in protocols * shm: make SHMPool use CfileDescriptor make SHMPool use CFileDescriptor instead of manual fd handling. * opengl: duplicate fd with CFileDescriptor duplicate fenceFD with CFileDescriptor duplicate instead. * xwayland: make sockets and fds use CFileDescriptor instead of manual opening/closing make sockets and fds use CFileDescriptor * keybindmgr: make sockets and fds use CFileDescriptor make sockets and fds use CFileDescriptor instead of manual handling.
* core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233)Honkazel2025-01-301-1/+0
| | | | | | | * declare dtor once + DMABBUF typo fix * dup include + clang moment * linux-dmabuf: last minute nit change
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-1/+1
|
* core: drop using deques in favor of vectorsVaxry2024-12-161-4/+4
| | | | No point in most of these.
* core: move to hyprutils for utils (#6385)Vaxry2024-06-111-1/+1
| | | | | | | | | | | | | * core: move to hyprutils for utils Nix: add hyprutils dep * Meson: add hyprutils dep * flake.lock: update --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* socket2: fix events being reordered (#5955)underengineering2024-05-101-16/+21
| | | | | | | | | | | | | | | | | | | * socket2: fix events being reordered * remove WL_EVENT_READABLE * initialize eventSource in SClient * add more logs oopsie * replace unordered_map with vector * fix reordering when socket becomes writable before queue is flushed * ignore EAGAIN when accepting connection * use g_pEventManager
* socket2: move to the wayland event loopVaxry2024-02-261-0/+7
|
* style/ci: apply clang-format and verify it in ci (#4039)François Conzelmann2023-12-061-0/+1
| | | | | * style: apply clang-format * ci: add new clang-format job to CI
* eventmanager: drop obsoleted ignore events flag (#2660)Mykola Perehudov2023-07-061-5/+2
| | | | This flag became obsoleted in commit 287e6c4ede30c8e5e85863cd85f157e17e24879c
* Added clang format (#1239)Vaxry2022-12-161-9/+8
| | | * clang-format stuff and format files
* remove ensureFDsValid, legacyvaxerski2022-11-021-1/+0
|
* fix crash in event manager on hangupvaxerski2022-10-221-1/+1
|
* remove polling from socket2, fully event basedvaxerski2022-10-031-0/+3
|
* Multiple improvements to the shutdown procedurevaxerski2022-08-281-0/+2
|
* force workspace eventsvaxerski2022-06-291-1/+1
|
* move ignore to eventmanager and fix double focus in changeworkspacevaxerski2022-06-211-0/+2
|
* use mutexes in eventmanager like a normal humanvaxerski2022-05-251-2/+2
|
* Major IPC Rework + Added Socket2vaxerski2022-05-241-0/+30
IPC is now done with UNIX sockets instead of TCP ones (security!), and added Socket2, see Wiki.