mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 13:25:42 +03:00
managers: fix debug log using printf format (#4007)
Some debug messages where using printf format style to print variable content instead of std::format format.
This commit is contained in:
parent
29970228c5
commit
5513eed64d
@ -1903,7 +1903,7 @@ void CKeybindManager::alterZOrder(std::string args) {
|
|||||||
else if (POSITION == "bottom")
|
else if (POSITION == "bottom")
|
||||||
g_pCompositor->changeWindowZOrder(PWINDOW, 0);
|
g_pCompositor->changeWindowZOrder(PWINDOW, 0);
|
||||||
else {
|
else {
|
||||||
Debug::log(ERR, "alterZOrder: bad position: %s", POSITION);
|
Debug::log(ERR, "alterZOrder: bad position: {}", POSITION);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2055,7 +2055,7 @@ void CKeybindManager::moveWindowOrGroup(std::string args) {
|
|||||||
static auto* const PIGNOREGROUPLOCK = &g_pConfigManager->getConfigValuePtr("binds:ignore_group_lock")->intValue;
|
static auto* const PIGNOREGROUPLOCK = &g_pConfigManager->getConfigValuePtr("binds:ignore_group_lock")->intValue;
|
||||||
|
|
||||||
if (!isDirection(args)) {
|
if (!isDirection(args)) {
|
||||||
Debug::log(ERR, "Cannot move into group in direction %c, unsupported direction. Supported: l,r,u/t,d/b", arg);
|
Debug::log(ERR, "Cannot move into group in direction {}, unsupported direction. Supported: l,r,u/t,d/b", arg);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user