summaryrefslogtreecommitdiff
path: root/src/protocols/GlobalShortcuts.cpp
Commit message (Collapse)AuthorAgeFilesLines
* ci: correct tar command for xz compression & fix typos (#11213)xqso2025-07-251-2/+2
|
* protocols: refactor class member vars (a-m) (#10265)davc0n2025-05-041-21/+21
|
* time: move to stl's clocks and move timerVaxry2025-04-161-6/+6
|
* core: reserve vector sizes as much as we can (#9118)Tom Englund2025-01-191-2/+13
| | | | | avoid reallocations as much as possible with a few edge cases where the reservation overshoots a tiny bit. but a few bytes of memory short term is better used then the overhead of potential reallocation.
* core: add LIKELY and UNLIKELY macrosvaxerski2025-01-171-4/+4
| | | | helps the compiler optimize
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-1/+0
| | | Cleanup some unneeded includes to speed up compilation
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-6/+6
| | | 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.
* protocols: Move globalshortcuts impl (#7102)Ikalco2024-07-301-104/+39
| | | | | | | * move global shortcuts to hyprwayland-scanner * remove wayland-scanner from deps * fix the thing
* core: add a destructor to CHyprOpenglImpl and avoid wl_container_of ↵Tom Englund2024-07-291-5/+8
| | | | | | | | | | | | | | | undefined behaviour (#7101) * protocols: avoid undefined behaviour in C macro to safely use wl_container_of with a class the class has to be no virtual functions, no inheritance, and uniform access control (e.g all public) work around this by putting this into a destroywrapper struct. * opengl: clean memory on destruction add a destructor and free the allocated memory and close the fd
* core: Properly shutdown wl display (#7018)Ikalco2024-07-241-2/+9
| | | | | | | * correctly destroy wayland globals * properly shutdown and cleanup hyprland * appease the nitpick gods and some comments
* GlobalShortcuts protocol impl (#1886)Vaxry2023-04-091-0/+151
Implements the `hyprland-global-shortcuts-v1` protocol --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>