Hyprland/src/managers
Tom Englund 1c73beaf9b
inputmgr: dont double free on hotplug (#5855)
* inputmgr: dont double free on hotplug

since we are also unrefing the state on hotplugging the keyboard set the
state to nullptr so the destructor if case actually catches its been
already freed.

* keybindgmgr: dont double free on layout switching

d5bf153 added keymap unref at the end of updateXKBTranslationState to
not leak it when exiting, only it causes updateXKBTranslationState to
double free when changing layouts. since its already freed. remove the
unneeded extra xkb_keymap_unref.
2024-05-03 18:10:41 +01:00
..
eventLoop cmake: Some small cmake cleanups (#5572) 2024-04-13 14:40:28 +01:00
input inputmgr: dont double free on hotplug (#5855) 2024-05-03 18:10:41 +01:00
AnimationManager.cpp layerSurface: refactor/move to a memory-safe impl 2024-04-30 02:41:27 +01:00
AnimationManager.hpp internal: Window storage rework - part 1 (#5762) 2024-04-27 12:43:12 +01:00
CursorManager.cpp internal: fix a few asan reported leaks on exit of hyprland (#5852) 2024-05-03 14:42:08 +01:00
CursorManager.hpp internal: fix a few asan reported leaks on exit of hyprland (#5852) 2024-05-03 14:42:08 +01:00
EventManager.cpp core: Move /tmp/hypr to $XDG_RUNTIME_DIR/hypr (#5788) 2024-04-28 22:25:24 +01:00
EventManager.hpp socket2: move to the wayland event loop 2024-02-26 17:20:51 +00:00
HookSystemManager.cpp HookSystem: improve callback safety 2024-04-20 20:16:42 +01:00
HookSystemManager.hpp HookSystem: improve callback safety 2024-04-20 20:16:42 +01:00
KeybindManager.cpp inputmgr: dont double free on hotplug (#5855) 2024-05-03 18:10:41 +01:00
KeybindManager.hpp internal: fix a few asan reported leaks on exit of hyprland (#5852) 2024-05-03 14:42:08 +01:00
LayoutManager.cpp hyprctl: Add 'layouts' command (#3895) 2023-11-21 18:43:38 +00:00
LayoutManager.hpp hyprctl: Add 'layouts' command (#3895) 2023-11-21 18:43:38 +00:00
ProtocolManager.cpp output-management: move to new impl 2024-05-03 18:08:04 +01:00
ProtocolManager.hpp XDG-Output: move to hyprwayland-scanner 2024-04-20 19:39:59 +01:00
SessionLockManager.cpp session-lock: move to new impl 2024-04-30 16:34:09 +01:00
SessionLockManager.hpp session-lock: move to new impl 2024-04-30 16:34:09 +01:00
ThreadManager.cpp config: improve config value infrastructure 2024-03-03 18:41:38 +00:00
ThreadManager.hpp Added clang format (#1239) 2022-12-16 17:17:31 +00:00
TokenManager.cpp tokenmgr: separate getRandomUUID from registerNewToken 2024-04-28 18:17:48 +01:00
TokenManager.hpp tokenmgr: separate getRandomUUID from registerNewToken 2024-04-28 18:17:48 +01:00
XWaylandManager.cpp internal: Window storage rework - part 1 (#5762) 2024-04-27 12:43:12 +01:00
XWaylandManager.hpp internal: Window storage rework - part 1 (#5762) 2024-04-27 12:43:12 +01:00