summaryrefslogtreecommitdiff
path: root/src/protocols/GlobalShortcuts.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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>