mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-13 00:46:00 +01:00
fix minor memory issue
This commit is contained in:
parent
2e0dd4bea2
commit
c2db3ad8ce
2 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,8 @@ int handleCritSignal(int signo, void* data) {
|
|||
}
|
||||
|
||||
CCompositor::CCompositor() {
|
||||
wlr_log_init(WLR_INFO, NULL);
|
||||
|
||||
m_szInstanceSignature = GIT_COMMIT_HASH + std::string("_") + std::to_string(time(NULL));
|
||||
|
||||
setenv("HYPRLAND_INSTANCE_SIGNATURE", m_szInstanceSignature.c_str(), true);
|
||||
|
|
|
@ -254,7 +254,7 @@ bool CKeybindManager::handleKeybinds(const uint32_t& modmask, const std::string&
|
|||
Debug::log(ERR, "Inavlid handler in a keybind! (handler %s does not exist)", k.handler.c_str());
|
||||
} else {
|
||||
// call the dispatcher
|
||||
Debug::log(LOG, "Keybind triggered, calling dispatcher (%d, %s, %d)", modmask, key, keysym);
|
||||
Debug::log(LOG, "Keybind triggered, calling dispatcher (%d, %s, %d)", modmask, key.c_str(), keysym);
|
||||
DISPATCHER->second(k.arg);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue